]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_channelban.cpp
Attach to events and register services in init()
[user/henk/code/inspircd.git] / src / modules / m_channelban.cpp
index 8c5962f2a35e930f8dc9ebbeb7c20b6cb5581717..71d4de784afefefbb379a1ec962907c74542f5b7 100644 (file)
@@ -26,7 +26,8 @@ class ModuleBadChannelExtban : public Module
 {
  private:
  public:
-       ModuleBadChannelExtban()        {
+       void init()
+       {
                Implementation eventlist[] = { I_OnCheckBan, I_On005Numeric };
                ServerInstance->Modules->Attach(eventlist, this, 2);
        }