Explicitly allow channel admins to kick eachother

This commit is contained in:
Sam Dodrill 2013-10-10 10:55:42 -07:00
parent 203ace2494
commit 2cfa339185
1 changed files with 2 additions and 0 deletions

View File

@ -327,6 +327,8 @@ 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_chanop(source) && is_owner(target))