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:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user