]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_vhost.cpp
Attach to events and register services in init()
[user/henk/code/inspircd.git] / src / modules / m_vhost.cpp
index 8ae231f336f9fae709ed17de479f5e84b57e618c..f3bbc1cfcf067e08d746107d8433f4b597d5c2a5 100644 (file)
@@ -68,6 +68,10 @@ class ModuleVHost : public Module
 
  public:
        ModuleVHost() : cmd(this)
+       {
+       }
+
+       void init()
        {
                ServerInstance->AddCommand(&cmd);
        }