1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 03:43:12 +02:00

Foward port of part of r2668

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2669 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Adam-
2009-11-25 21:38:50 +00:00
parent 4f550d29aa
commit 4fac8d6a91
+1 -1
View File
@@ -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);