diff options
Diffstat (limited to 'modules/commands/cs_log.cpp')
-rw-r--r-- | modules/commands/cs_log.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/commands/cs_log.cpp b/modules/commands/cs_log.cpp index b74b67466..1eca31f85 100644 --- a/modules/commands/cs_log.cpp +++ b/modules/commands/cs_log.cpp @@ -150,6 +150,12 @@ public: } else if (params.size() > 2) { + if (Anope::ReadOnly) + { + source.Reply(READ_ONLY_MODE); + return; + } + LogSettings *ls = ci->Require<LogSettings>("logsettings"); const Anope::string &command = params[1]; const Anope::string &method = params[2]; |