]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_whowas.cpp
Attach to events and register services in init()
[user/henk/code/inspircd.git] / src / commands / cmd_whowas.cpp
index c7cb8efb410922fb3c227820d183ffbb14e08cda..fa3b738ba1e7eb6694afc90ec7826bd99d75336a 100644 (file)
@@ -318,6 +318,10 @@ class ModuleWhoWas : public Module
        CommandWhowas cmd;
  public:
        ModuleWhoWas() : cmd(this)
+       {
+       }
+
+       void init()
        {
                ServerInstance->AddCommand(&cmd);
        }