diff --git a/src/channel.c b/src/channel.c index 89e433b..44c1ba3 100644 --- a/src/channel.c +++ b/src/channel.c @@ -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))