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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user