]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_setident.cpp
Attach to events and register services in init()
[user/henk/code/inspircd.git] / src / modules / m_setident.cpp
index 2e81c1efd063138c7fcee3f7df07304b83976bf4..00545e29b65db5c73db7c19d140da2769b7799e2 100644 (file)
@@ -69,6 +69,10 @@ class ModuleSetIdent : public Module
 
  public:
        ModuleSetIdent() : cmd(this)
+       {
+       }
+
+       void init()
        {
                ServerInstance->AddCommand(&cmd);
        }