diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-07-24 19:04:26 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-07-24 19:04:26 +0000 |
commit | 2bc769f0a821bc89dfa50b1a83e5bcea88fb8388 (patch) | |
tree | 9793aaa8d7174c9060f6426fc52def4def1a3645 /src/modules/m_operflood.cpp | |
parent | c440833393dde325fa45e295753cbe86683baea6 (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/modules/m_operflood.cpp')
-rw-r--r-- | src/modules/m_operflood.cpp | 6 |
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() |