1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 13:56:39 +02:00

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.

This commit is contained in:
Adam
2013-04-11 00:51:08 -05:00
parent cb64d806c1
commit db4ed1cfaf
7 changed files with 88 additions and 164 deletions
+1 -1
View File
@@ -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)
{