1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 08:43:13 +02:00

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.
This commit is contained in:
Robby-
2013-10-02 00:13:40 +02:00
committed by Adam
parent ba5a3f5f00
commit 82006b868f
20 changed files with 128 additions and 29 deletions
+6
View File
@@ -170,6 +170,12 @@ class CommandCSSetPrivate : public Command
void Execute(CommandSource &source, const std::vector<Anope::string> &params) anope_override
{
if (Anope::ReadOnly)
{
source.Reply(READ_ONLY_MODE);
return;
}
ChannelInfo *ci = ChannelInfo::Find(params[0]);
if (ci == NULL)
{