|
@@ -452,7 +452,7 @@ static void priority_do(struct chanset_t * chan, bool opsonly, int action, bool
|
|
|
} else if ((action == PRIO_KICK) && !chan_sentkick(m) &&
|
|
} else if ((action == PRIO_KICK) && !chan_sentkick(m) &&
|
|
|
// Check closed-exempt
|
|
// Check closed-exempt
|
|
|
!((chan_hasop(m) && chan->closed_exempt_mode == CHAN_FLAG_OP) ||
|
|
!((chan_hasop(m) && chan->closed_exempt_mode == CHAN_FLAG_OP) ||
|
|
|
- (chan_hasvoice(m) && chan->closed_exempt_mode == CHAN_FLAG_VOICE))) {
|
|
|
|
|
|
|
+ ((chan_hasvoice(m) || chan_hasop(m)) && chan->closed_exempt_mode == CHAN_FLAG_VOICE))) {
|
|
|
++actions;
|
|
++actions;
|
|
|
++sent;
|
|
++sent;
|
|
|
if (chan->closed_ban)
|
|
if (chan->closed_ban)
|