diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-11-25 21:38:50 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-11-25 21:38:50 +0000 |
commit | 4fac8d6a9133fe3b203e67d8fa3a131e178e183a (patch) | |
tree | 9a4d4b70c8b5e9826c5d6df507cd47975fc1c704 /src | |
parent | 4f550d29aaba718e76f09a0c8d8ee7f1947583a5 (diff) |
Foward port of part of r2668
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2669 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r-- | src/core/cs_xop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_xop.c b/src/core/cs_xop.c index 9d489d555..dd27a47fb 100644 --- a/src/core/cs_xop.c +++ b/src/core/cs_xop.c @@ -568,9 +568,9 @@ class CSXOP : public Module */ int xop_del(User *u, ChannelInfo *ci, ChanAccess *access, int *perm, int uacc, int xlev) { - char *nick = access->nc->display; if (!access->in_use || access->level != xlev) return 0; + char *nick = access->nc->display; if (uacc <= access->level && !u->nc->HasPriv("chanserv/access/modify")) { ++(*perm); |