diff options
-rw-r--r-- | data/example.conf | 4 | ||||
-rw-r--r-- | docs/Changes.conf | 1 | ||||
-rw-r--r-- | src/core/cs_xop.c | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/data/example.conf b/data/example.conf index 2d44fe6d4..a47735ec0 100644 --- a/data/example.conf +++ b/data/example.conf @@ -583,8 +583,8 @@ options * botserv/botlist botserv/set/private botserv/set/nobot * * chanserv/access/list chanserv/drop chanserv/forbid chanserv/getkey - * chanserv/list chanserv/aop/list chanserv/suspend chanserv/set/noexpire - * chanserv/status chanserv/topic + * chanserv/list chanserv/suspend chanserv/topic chanserv/set/noexpire + * chanserv/status * * memoserv/sendall memoserv/staff * diff --git a/docs/Changes.conf b/docs/Changes.conf index c25bbe80a..de91d3808 100644 --- a/docs/Changes.conf +++ b/docs/Changes.conf @@ -12,6 +12,7 @@ options:passlen added to specify the maximum length of passwords uplink:ipv6 added to enable IPv6 connectivity options:maxretries added to specify the number of reconnect attempts allowed options:retrywait added to specify how long to wait between reconnect attempts +opertype command chanserv/aop/list removed as it was unnecessary, use chanserv/access/list instead ** MODIFIED CONFIGURATION DIRECTIVES ** options:encryption added enc_sha256 diff --git a/src/core/cs_xop.c b/src/core/cs_xop.c index fdedfa9bf..d6dc37e90 100644 --- a/src/core/cs_xop.c +++ b/src/core/cs_xop.c @@ -311,7 +311,7 @@ class XOPBase : public Command int sent_header = 0; const char *nick = params.size() > 2 ? params[2].c_str() : NULL; - if (level < ACCESS_AOP && !u->Account()->HasCommand("chanserv/aop/list")) + if (!get_access(u, ci) && !u->Account()->HasCommand("chanserv/access/list")) { notice_lang(Config.s_ChanServ, u, ACCESS_DENIED); return MOD_CONT; |