summaryrefslogtreecommitdiff
path: root/modules/chanserv/cs_xop.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-03-15 12:09:58 +0000
committerSadie Powell <sadie@witchery.services>2024-03-15 12:09:58 +0000
commitad86535024e3a85bd161b711aabe93997a5705ad (patch)
tree71aa76167c8b8abee24dba92554a4b9653b9444e /modules/chanserv/cs_xop.cpp
parent628f4d2a7e4d072439ad8f30cf6fb702e14f134b (diff)
Consistently use READ_ONLY_MODE everywhere.
Diffstat (limited to 'modules/chanserv/cs_xop.cpp')
-rw-r--r--modules/chanserv/cs_xop.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/chanserv/cs_xop.cpp b/modules/chanserv/cs_xop.cpp
index 0ec8e8d25..b1791e5fe 100644
--- a/modules/chanserv/cs_xop.cpp
+++ b/modules/chanserv/cs_xop.cpp
@@ -116,7 +116,7 @@ private:
if (Anope::ReadOnly)
{
- source.Reply(_("Sorry, channel %s list modification is temporarily disabled."), source.command.c_str());
+ source.Reply(READ_ONLY_MODE, source.command.c_str());
return;
}
@@ -246,7 +246,7 @@ private:
if (Anope::ReadOnly)
{
- source.Reply(_("Sorry, channel %s list modification is temporarily disabled."), source.command.c_str());
+ source.Reply(READ_ONLY_MODE, source.command.c_str());
return;
}
@@ -464,7 +464,7 @@ private:
{
if (Anope::ReadOnly)
{
- source.Reply(_("Sorry, channel %s list modification is temporarily disabled."), source.command.c_str());
+ source.Reply(READ_ONLY_MODE, source.command.c_str());
return;
}