summaryrefslogtreecommitdiff
path: root/src/modules/m_connflood.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_connflood.cpp')
-rw-r--r--src/modules/m_connflood.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_connflood.cpp b/src/modules/m_connflood.cpp
index 71516063b..85aa85a9b 100644
--- a/src/modules/m_connflood.cpp
+++ b/src/modules/m_connflood.cpp
@@ -37,6 +37,10 @@ public:
ModuleConnFlood()
: conns(0), throttled(false)
{
+ }
+
+ void init()
+ {
InitConf();
Implementation eventlist[] = { I_OnRehash, I_OnUserRegister };
ServerInstance->Modules->Attach(eventlist, this, 2);