From db4ed1cfafec7e75fb8b548dbdbe1ef93500c3bf Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 11 Apr 2013 00:51:08 -0500 Subject: 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. --- modules/commands/cs_log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands/cs_log.cpp') 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) { -- cgit