@@ -38,6 +38,7 @@
* Fix aliases not properly indicating bad command on leaf bots (fixes #297)
* Fix botlink problems when hub and leaf nicks are long
* Fix (+|-)(ban|exempt|invite) commands to properly handle if the channel is given first so that a #chan!*@* ban is not created.
+* Fix chanint 'flood-exempt' not exempting ops when set to 'voice'
1.2.16 - http://wraith.botpack.net/milestone/1.2.16
* Add 'set altchars' so that alternative characters used for nicks can be changed. (fixes #418)
@@ -455,7 +455,7 @@ static bool detect_chan_flood(char *floodnick, char *floodhost, char *from,
((which != FLOOD_DEOP) && (which != FLOOD_KICK) &&
( (chk_noflood(fr) ||
(m && chan->flood_exempt_mode == FLOOD_EXEMPT_OP && chan_hasop(m)) ||
- (m && chan->flood_exempt_mode == FLOOD_EXEMPT_VOICE && chan_hasvoice(m)) )
+ (m && chan->flood_exempt_mode == FLOOD_EXEMPT_VOICE && (chan_hasvoice(m) || chan_hasop(m))) )
)))
return 0;