chanserv/antiflood: improve logic