]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_noctcp.cpp
Add RAWIO log level which is more verbose than DEBUG
[user/henk/code/inspircd.git] / src / modules / m_noctcp.cpp
index 19f97b42c5e488b97db458e89160464b5d832f81..680392ea99ab292ac44018efba0391684ae0b174 100644 (file)
@@ -78,8 +78,7 @@ class ModuleNoCTCP : public Module
                if ((target_type == TYPE_CHANNEL) && (IS_LOCAL(user)))
                {
                        Channel* c = (Channel*)dest;
-                       ModResult res;
-                       FIRST_MOD_RESULT(OnChannelRestrictionApply, res, (user,c,"noctcp"));
+                       ModResult res = ServerInstance->OnCheckExemption(user,c,"noctcp");
 
                        if (res == MOD_RES_ALLOW)
                                return MOD_RES_PASSTHRU;