From ad86535024e3a85bd161b711aabe93997a5705ad Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 15 Mar 2024 12:09:58 +0000 Subject: Consistently use READ_ONLY_MODE everywhere. --- modules/chanserv/cs_xop.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/chanserv/cs_xop.cpp') 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; } -- cgit