]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modules/cap.h
m_connectban Don't depend on the definition of clonemap
[user/henk/code/inspircd.git] / include / modules / cap.h
index 2ed8df49447603d385b9ee8d6bbf333a5346da30..1b33e05bbcde649b9ef593861967e851fb6ed60e 100644 (file)
@@ -45,7 +45,6 @@ class GenericCap
        const std::string cap;
        GenericCap(Module* parent, const std::string &Cap) : ext("cap_" + Cap, parent), cap(Cap)
        {
-               ServerInstance->Modules->AddService(ext);
        }
 
        void HandleEvent(Event& ev)
@@ -87,4 +86,3 @@ class GenericCap
                }
        }
 };
-