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