summaryrefslogtreecommitdiff
path: root/modules/commands/cs_drop.cpp
diff options
context:
space:
mode:
authorRobby- <robby@chat.be>2013-10-04 05:45:28 +0200
committerAdam <Adam@anope.org>2013-10-05 00:33:03 -0400
commit97d7c21193c490f647ee059dd28d4a37a684cbb1 (patch)
tree7ec955a2a18d266d79739388511d8a053715340c /modules/commands/cs_drop.cpp
parente5b8435769f9c5aa5326a60811cfae6fda2f5807 (diff)
Fix logging for log type 'other'.
os_ignore: Log expired ignores to the normal log level. cs_drop: Allow Services Operators to actually drop channels in Read-Only mode. os_akill, os_sxline, cs_akick: Log deletions by number.
Diffstat (limited to 'modules/commands/cs_drop.cpp')
-rw-r--r--modules/commands/cs_drop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_drop.cpp b/modules/commands/cs_drop.cpp
index 86061dc91..908be11db 100644
--- a/modules/commands/cs_drop.cpp
+++ b/modules/commands/cs_drop.cpp
@@ -24,7 +24,7 @@ class CommandCSDrop : public Command
{
const Anope::string &chan = params[0];
- if (Anope::ReadOnly)
+ if (Anope::ReadOnly && !source.HasPriv("chanserv/administration"))
{
source.Reply(_("Sorry, channel de-registration is temporarily disabled.")); // XXX: READ_ONLY_MODE?
return;