]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_timedbans.cpp
Some more to fix still, modules probably wont load correctly atm
[user/henk/code/inspircd.git] / src / modules / m_timedbans.cpp
index 30dda81f5f53a7d3c08c7f45365169e0ab3f83df..36adb7679ca0dcead7789cbed4da2adf5d4c0ed7 100644 (file)
@@ -114,6 +114,8 @@ class ModuleTimedBans : public Module
                mycommand = new CommandTban(ServerInstance);
                ServerInstance->AddCommand(mycommand);
                TimedBanList.clear();
+               Implementation eventlist[] = { I_OnDelBan, I_OnBackgroundTimer };
+               ServerInstance->Modules->Attach(eventlist, this, 2);
        }
        
        virtual ~ModuleTimedBans()