From 011e4268459819a76b786a22c81595b9aa34d665 Mon Sep 17 00:00:00 2001 From: Adam- Date: Fri, 7 May 2010 20:16:09 +0000 Subject: Removed the chanserv/aop/list command perm and switched it with chanserv/access/list. Fixed a bug so users on the access list can request the vop and hop list. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2940 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/cs_xop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit