summaryrefslogtreecommitdiff
path: root/modules/chanserv/cs_register.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_register.cpp
parent628f4d2a7e4d072439ad8f30cf6fb702e14f134b (diff)
Consistently use READ_ONLY_MODE everywhere.
Diffstat (limited to 'modules/chanserv/cs_register.cpp')
-rw-r--r--modules/chanserv/cs_register.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/chanserv/cs_register.cpp b/modules/chanserv/cs_register.cpp
index 402ae1296..1610a98ba 100644
--- a/modules/chanserv/cs_register.cpp
+++ b/modules/chanserv/cs_register.cpp
@@ -33,7 +33,7 @@ public:
ChannelInfo *ci = ChannelInfo::Find(params[0]);
if (Anope::ReadOnly)
- source.Reply(_("Sorry, channel registration is temporarily disabled."));
+ source.Reply(READ_ONLY_MODE);
else if (nc->HasExt("UNCONFIRMED"))
source.Reply(_("You must confirm your account before you can register a channel."));
else if (chan[0] == '&')