From 2bc769f0a821bc89dfa50b1a83e5bcea88fb8388 Mon Sep 17 00:00:00 2001 From: w00t Date: Thu, 24 Jul 2008 19:04:26 +0000 Subject: Make m_operflood actually work, thanks to KrazyBox for this. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10070 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_operflood.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_operflood.cpp b/src/modules/m_operflood.cpp index c9216cba8..39d0ba9b2 100644 --- a/src/modules/m_operflood.cpp +++ b/src/modules/m_operflood.cpp @@ -20,7 +20,11 @@ class ModuleOperFlood : public Module { public: - ModuleOperFlood(InspIRCd * Me) : Module(Me) {} + ModuleOperFlood(InspIRCd * Me) : Module(Me) + { + Implementation eventlist[] = { I_OnPostOper }; + ServerInstance->Modules->Attach(eventlist, this, 1); + } Version GetVersion() -- cgit v1.2.3