summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-07-24 19:04:26 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-07-24 19:04:26 +0000
commit2bc769f0a821bc89dfa50b1a83e5bcea88fb8388 (patch)
tree9793aaa8d7174c9060f6426fc52def4def1a3645 /src
parentc440833393dde325fa45e295753cbe86683baea6 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_operflood.cpp6
1 files changed, 5 insertions, 1 deletions
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()