diff --git a/src/channel.c b/src/channel.c index 6002a09..39c5043 100644 --- a/src/channel.c +++ b/src/channel.c @@ -335,6 +335,8 @@ can_kick_deop(struct membership *source, struct membership *target) return 0; if(is_halfop(source) && is_any_op(target)) return 0; + if(!is_any_op(source)) + return 0; return 1;