]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chanfilter.cpp
Attach to events and register services in init()
[user/henk/code/inspircd.git] / src / modules / m_chanfilter.cpp
index 3bc1082a643214099f79a4cce0a41c462aaced7d..2c89950445a83bc5b5ace04611310d0ea2b816a8 100644 (file)
@@ -75,6 +75,10 @@ class ModuleChanFilter : public Module
 
        ModuleChanFilter()
                : cf(this)
+       {
+       }
+
+       void init()
        {
                if (!ServerInstance->Modes->AddMode(&cf))
                        throw ModuleException("Could not add new modes!");