diff options
| author | Sadie Powell <sadie@witchery.services> | 2024-03-15 12:09:58 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2024-03-15 12:09:58 +0000 |
| commit | ad86535024e3a85bd161b711aabe93997a5705ad (patch) | |
| tree | 71aa76167c8b8abee24dba92554a4b9653b9444e /modules/botserv/bs_kick.cpp | |
| parent | 628f4d2a7e4d072439ad8f30cf6fb702e14f134b (diff) | |
Consistently use READ_ONLY_MODE everywhere.
Diffstat (limited to 'modules/botserv/bs_kick.cpp')
| -rw-r--r-- | modules/botserv/bs_kick.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |
