]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_nickflood.cpp
Add RAWIO log level which is more verbose than DEBUG
[user/henk/code/inspircd.git] / src / modules / m_nickflood.cpp
index 47c8bc8366d030eb3d741f90902230a66d851a8c..708d30e6beee622155de397b8c964a2f2f6def2b 100644 (file)
@@ -209,7 +209,7 @@ class ModuleNickFlood : public Module
                        nickfloodsettings *f = nf.ext.get(channel);
                        if (f)
                        {
-                               FIRST_MOD_RESULT(OnChannelRestrictionApply, res, (user,channel,"nickflood"));
+                               res = ServerInstance->OnCheckExemption(user,channel,"nickflood");
                                if (res == MOD_RES_ALLOW)
                                        continue;
 
@@ -248,7 +248,7 @@ class ModuleNickFlood : public Module
                        nickfloodsettings *f = nf.ext.get(channel);
                        if (f)
                        {
-                               FIRST_MOD_RESULT(OnChannelRestrictionApply, res, (user,channel,"nickflood"));
+                               res = ServerInstance->OnCheckExemption(user,channel,"nickflood");
                                if (res == MOD_RES_ALLOW)
                                        return;