]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_noctcp.cpp
Next part of Development/Hooking (see wiki)
[user/henk/code/inspircd.git] / src / modules / m_noctcp.cpp
index cb11dd5ad291aaca860dcffb660a2e228b663825..b958355072599b8d5fb5d7ea8bd1902871418bce 100644 (file)
@@ -55,7 +55,7 @@ class ModuleNoCTCP : public Module
        {
                
                nc = new NoCTCP(ServerInstance);
-               if (!ServerInstance->AddMode(nc, 'C'))
+               if (!ServerInstance->AddMode(nc))
                        throw ModuleException("Could not add new modes!");
        }