summaryrefslogtreecommitdiff
path: root/modules/commands/cs_log.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-04-11 00:51:08 -0500
committerAdam <Adam@anope.org>2013-04-11 00:51:08 -0500
commitdb4ed1cfafec7e75fb8b548dbdbe1ef93500c3bf (patch)
treed5471aca1c32ce0e483b58148639b576c2348e70 /modules/commands/cs_log.cpp
parentcb64d806c164be33bf26ba300c0a15c130b91a15 (diff)
Merge chanserv saset and set back into one command since it no longer needs to be separated... replace chanserv/set privilege with chanserv/administration. Dont tell users to use 'help' for more help if there is no help.
Diffstat (limited to 'modules/commands/cs_log.cpp')
-rw-r--r--modules/commands/cs_log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_log.cpp b/modules/commands/cs_log.cpp
index 569617ba5..7e817caa9 100644
--- a/modules/commands/cs_log.cpp
+++ b/modules/commands/cs_log.cpp
@@ -31,7 +31,7 @@ public:
ChannelInfo *ci = ChannelInfo::Find(channel);
if (ci == NULL)
source.Reply(CHAN_X_NOT_REGISTERED, channel.c_str());
- else if (!source.AccessFor(ci).HasPriv("SET") && !source.HasPriv("chanserv/set"))
+ else if (!source.AccessFor(ci).HasPriv("SET") && !source.HasPriv("chanserv/administration"))
source.Reply(ACCESS_DENIED);
else if (params.size() == 1)
{