]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_noctcp.cpp
Made SANICK not collide the user (theres no need to in the new 1.1 now we have return...
[user/henk/code/inspircd.git] / src / modules / m_noctcp.cpp
index 2891abd5e458e256a1cbb3c5f60160d296741334..651c4acd5225e7ab39d6978ecfa5968b563c00d8 100644 (file)
@@ -100,12 +100,13 @@ class ModuleNoCTCP : public Module
 
        virtual ~ModuleNoCTCP()
        {
+               ServerInstance->Modes->DelMode(nc);
                DELETE(nc);
        }
 
        virtual Version GetVersion()
        {
-               return Version(1,0,0,0,VF_STATIC|VF_VENDOR);
+               return Version(1,0,0,0,VF_COMMON|VF_VENDOR);
        }
 };