summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-05-07 20:16:09 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-05-07 20:16:09 +0000
commit011e4268459819a76b786a22c81595b9aa34d665 (patch)
tree85dbab4e132135fa6bcd499c22600675363fa2d4 /src
parent75f39dec7af0a493767d92e121601060e29d7e17 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/core/cs_xop.c2
1 files changed, 1 insertions, 1 deletions
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;