]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_hideoper.cpp
Attach to events and register services in init()
[user/henk/code/inspircd.git] / src / modules / m_hideoper.cpp
index 998a57bb3c59b4d8a5b818a867ad71d15c6f5089..fe06ad8c69bee21564d2958881649527c4343d50 100644 (file)
@@ -40,6 +40,10 @@ class ModuleHideOper : public Module
  public:
        ModuleHideOper()
                : hm(this)
+       {
+       }
+
+       void init()
        {
                if (!ServerInstance->Modes->AddMode(&hm))
                        throw ModuleException("Could not add new modes!");