|
@@ -399,7 +399,7 @@ void priority_do(struct chanset_t * chan, bool opsonly, int action)
|
|
|
++actions;
|
|
++actions;
|
|
|
++sent;
|
|
++sent;
|
|
|
add_mode(chan, '-', 'o', m->nick);
|
|
add_mode(chan, '-', 'o', m->nick);
|
|
|
- if (actions >= ct || (n == 1 && sent > 20)) {
|
|
|
|
|
|
|
+ if (!floodless && (actions >= ct || (n == 1 && sent > 20))) {
|
|
|
flush_mode(chan, QUICK);
|
|
flush_mode(chan, QUICK);
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
@@ -410,7 +410,7 @@ void priority_do(struct chanset_t * chan, bool opsonly, int action)
|
|
|
do_closed_kick(chan, m);
|
|
do_closed_kick(chan, m);
|
|
|
dprintf(DP_MODE, "KICK %s %s :%s%s\n", chan->name, m->nick, kickprefix, response(RES_CLOSED));
|
|
dprintf(DP_MODE, "KICK %s %s :%s%s\n", chan->name, m->nick, kickprefix, response(RES_CLOSED));
|
|
|
m->flags |= SENTKICK;
|
|
m->flags |= SENTKICK;
|
|
|
- if (actions >= ct || (n == 1 && sent > 5))
|
|
|
|
|
|
|
+ if (!floodless && (actions >= ct || (n == 1 && sent > 5)))
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|