diff options
Diffstat (limited to 'src')
-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() |