commit - 0f490b5caec3439a0e67aa989eea26b352770c94
commit + 5c48d7e9c7f0181772c14b133030a3c0e978fdc5
blob - 6d8dde3e1e2004d96b580e51ca210f4eb3bfe2fa
blob + e74cd6eb1dfcc4358668a1c5ec18ec040471d697
--- src/ngircd/channel.c
+++ src/ngircd/channel.c
!Channel_UserHasMode(chan, Target, 'a') &&
!Channel_UserHasMode(chan, Target, 'o'))
can_kick = true;
+
+ /* IRC operators & IRCd with OperCanMode enabled
+ * can kick anyways regardless of privilege */
+ else if(Client_HasMode(Origin, 'o') && Conf_OperCanMode)
+ can_kick = true;
if(!can_kick) {
IRC_WriteErrClient(Origin, ERR_CHANOPPRIVTOOLOW_MSG,