From 2cfa33918570fc1cb89731fb18d21f0876369107 Mon Sep 17 00:00:00 2001 From: Sam Dodrill Date: Thu, 10 Oct 2013 10:55:42 -0700 Subject: [PATCH] Explicitly allow channel admins to kick eachother --- src/channel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/channel.c b/src/channel.c index 39c5043..89e433b 100644 --- a/src/channel.c +++ b/src/channel.c @@ -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))