From 97d7c21193c490f647ee059dd28d4a37a684cbb1 Mon Sep 17 00:00:00 2001 From: Robby- Date: Fri, 4 Oct 2013 05:45:28 +0200 Subject: 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. --- modules/commands/cs_drop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands/cs_drop.cpp') 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; -- cgit