From 82006b868f0fc33cfe8903cdcf854a7f6be9b344 Mon Sep 17 00:00:00 2001 From: Robby- Date: Wed, 2 Oct 2013 00:13:40 +0200 Subject: cs_entrymsg: Check for the correct override privilege. Make some more commands check if Read-Only mode is active. cs_flags: Show a meaningful message when a user is not found on the access list. os_set: Add missing capabilities to the readonly help output. OperServ: Add logging to certain commands. NickServ: Undo logging for listings. --- modules/commands/cs_entrymsg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands/cs_entrymsg.cpp') diff --git a/modules/commands/cs_entrymsg.cpp b/modules/commands/cs_entrymsg.cpp index 032d023eb..68be39c53 100644 --- a/modules/commands/cs_entrymsg.cpp +++ b/modules/commands/cs_entrymsg.cpp @@ -209,7 +209,7 @@ class CommandEntryMessage : public Command return; } - if (!source.IsFounder(ci) && !source.HasCommand("chanserv/set")) + if (!source.IsFounder(ci) && !source.HasPriv("chanserv/administration")) { source.Reply(ACCESS_DENIED); return; -- cgit