diff options
author | Adam <Adam@anope.org> | 2013-09-20 21:07:50 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-09-20 21:09:35 -0400 |
commit | e5ece18ee7804ed81f1b0f80af30a9aea8320522 (patch) | |
tree | 11ef551790936e22fb54122441fd152566ed0c17 /modules/commands/ns_suspend.cpp | |
parent | 8641b995c43593289dc4e66cbf980069b80d6d6b (diff) |
Readonlyize many commands
Diffstat (limited to 'modules/commands/ns_suspend.cpp')
-rw-r--r-- | modules/commands/ns_suspend.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/commands/ns_suspend.cpp b/modules/commands/ns_suspend.cpp index 9545bdc60..1037cfa88 100644 --- a/modules/commands/ns_suspend.cpp +++ b/modules/commands/ns_suspend.cpp @@ -70,10 +70,7 @@ class CommandNSSuspend : public Command time_t expiry_secs = Config->GetModule(this->owner)->Get<time_t>("suspendexpire"); if (Anope::ReadOnly) - { source.Reply(READ_ONLY_MODE); - return; - } if (expiry[0] != '+') { @@ -162,10 +159,7 @@ class CommandNSUnSuspend : public Command const Anope::string &nick = params[0]; if (Anope::ReadOnly) - { source.Reply(READ_ONLY_MODE); - return; - } NickAlias *na = NickAlias::Find(nick); if (!na) |