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/botserv/bs_kick.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/botserv/bs_kick.cpp') diff --git a/modules/botserv/bs_kick.cpp b/modules/botserv/bs_kick.cpp index 9183eae22..4d21256bc 100644 --- a/modules/botserv/bs_kick.cpp +++ b/modules/botserv/bs_kick.cpp @@ -182,7 +182,7 @@ protected: ci = ChannelInfo::Find(chan); if (Anope::ReadOnly) - source.Reply(_("Sorry, kicker configuration is temporarily disabled.")); + source.Reply(READ_ONLY_MODE); else if (ci == NULL) source.Reply(CHAN_X_NOT_REGISTERED, params[0].c_str()); else if (option.empty()) @@ -772,7 +772,7 @@ public: if (Anope::ReadOnly) { - source.Reply(_("Sorry, bot option setting is temporarily disabled.")); + source.Reply(READ_ONLY_MODE); return; } @@ -838,7 +838,7 @@ public: if (Anope::ReadOnly) { - source.Reply(_("Sorry, bot option setting is temporarily disabled.")); + source.Reply(READ_ONLY_MODE); return; } -- cgit