chanserv/antiflood: add routine to determine whether enforcement is necessary