1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 15:53:13 +02:00

Make /cs status use the chanserv/auspex privilege instead of chanserv/access/modify, as it only views channel access

This commit is contained in:
Adam
2014-01-04 13:41:08 -05:00
parent ac204745c8
commit 4617fdbf3d
+1 -1
View File
@@ -27,7 +27,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("ACCESS_CHANGE") && !source.HasPriv("chanserv/access/modify"))
else if (!source.AccessFor(ci).HasPriv("ACCESS_CHANGE") && !source.HasPriv("chanserv/auspex"))
source.Reply(ACCESS_DENIED);
else
{