]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_noctcp.cpp
m_remove, m_services_account Don't check whether nicks are u-lined, checking the...
[user/henk/code/inspircd.git] / src / modules / m_noctcp.cpp
index 8c8e1c473b387723ee0a3d8e3ff65a5068f160d1..d6db7a7f7db88dc7d01a88c7eaf52c26a6accaf1 100644 (file)
@@ -67,7 +67,7 @@ class ModuleNoCTCP : public Module
                        if (!c->IsModeSet('C'))
                                return MOD_RES_PASSTHRU;
 
-                       if ((text.empty()) || (text[0] != '\001') || (strncmp(text.c_str(),"\1ACTION ",8)))
+                       if ((text.empty()) || (text[0] != '\001') || (!strncmp(text.c_str(),"\1ACTION ",8)))
                                return MOD_RES_PASSTHRU;
 
                        ModResult res = ServerInstance->OnCheckExemption(user,c,"noctcp");