summaryrefslogtreecommitdiff
path: root/modules/commands/cs_status.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-01-04 13:41:08 -0500
committerAdam <Adam@anope.org>2014-01-04 13:41:08 -0500
commit4617fdbf3de54b076f0b3765dad5798cf65ed741 (patch)
treeef23c1f25c0bb2eb4663e0910c40c6e52c07b8d3 /modules/commands/cs_status.cpp
parentac204745c880882e0b624deadb19e85cfdb5cba6 (diff)
Make /cs status use the chanserv/auspex privilege instead of chanserv/access/modify, as it only views channel access
Diffstat (limited to 'modules/commands/cs_status.cpp')
-rw-r--r--modules/commands/cs_status.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_status.cpp b/modules/commands/cs_status.cpp
index 13c924d3f..118c89014 100644
--- a/modules/commands/cs_status.cpp
+++ b/modules/commands/cs_status.cpp
@@ -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
{