ModResult ProcessMessages(User* user,Channel* dest, const std::string &text)
{
- ModResult res;
- FIRST_MOD_RESULT(OnChannelRestrictionApply, res, (user,dest,"flood"));
+ ModResult res = ServerInstance->OnCheckExemption(user,dest,"flood");
if (!IS_LOCAL(user) || res == MOD_RES_ALLOW)
return MOD_RES_PASSTHRU;