]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_noctcp.cpp
AMD64 warning 'fix' which tested fine when I added it seems to now...stop things...
[user/henk/code/inspircd.git] / src / modules / m_noctcp.cpp
index ab0808aa23b6749b88d4ce34db179bdd325d603d..42d2330025eedb4848ac91509ea4fd614948e719 100644 (file)
@@ -57,7 +57,7 @@ class ModuleNoCTCP : public Module
                if (target_type == TYPE_CHANNEL)
                {
                        chanrec* c = (chanrec*)dest;
-                       if (c->IsCustomModeSet('C'))
+                       if (c->IsModeSet('C'))
                        {
                                if ((text.length()) && (text[0] == '\1'))
                                {