From 4617fdbf3de54b076f0b3765dad5798cf65ed741 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 4 Jan 2014 13:41:08 -0500 Subject: Make /cs status use the chanserv/auspex privilege instead of chanserv/access/modify, as it only views channel access --- modules/commands/cs_status.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands/cs_status.cpp') 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 { -- cgit