]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_denychans.cpp
Attach to events and register services in init()
[user/henk/code/inspircd.git] / src / modules / m_denychans.cpp
index c280174f52fca174555e474937e3fcd1515211ef..2b2b343a4f5d61b583d4f4d58f046e574ac53c93 100644 (file)
@@ -27,7 +27,8 @@
 class ModuleDenyChannels : public Module
 {
  public:
-       ModuleDenyChannels()    {
+       void init()
+       {
                Implementation eventlist[] = { I_OnUserPreJoin, I_OnRehash };
                ServerInstance->Modules->Attach(eventlist, this, 2);
        }