Merge branch 'owners-immune'
This commit is contained in:
commit
a3da200088
|
@ -327,10 +327,10 @@ can_kick_deop(struct membership *source, struct membership *target)
|
|||
|
||||
if(is_owner(source))
|
||||
return 1;
|
||||
if(is_admin(source) && is_admin(target))
|
||||
return 1;
|
||||
if(is_admin(source) && is_owner(target))
|
||||
return 0;
|
||||
if(is_admin(source) && is_admin(target))
|
||||
return 1;
|
||||
if(is_chanop(source) && is_owner(target))
|
||||
return 0;
|
||||
if(is_chanop(source) && is_admin(target))
|
||||
|
|
Loading…
Reference in New Issue