summaryrefslogtreecommitdiff
path: root/src/modules/m_conn_waitpong.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_conn_waitpong.cpp')
-rw-r--r--src/modules/m_conn_waitpong.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_conn_waitpong.cpp b/src/modules/m_conn_waitpong.cpp
index 50aeffd0a..381beb18f 100644
--- a/src/modules/m_conn_waitpong.cpp
+++ b/src/modules/m_conn_waitpong.cpp
@@ -36,6 +36,10 @@ class ModuleWaitPong : public Module
ModuleWaitPong()
: ext("waitpong_pingstr", this)
{
+ }
+
+ void init()
+ {
ServerInstance->Modules->AddService(ext);
OnRehash(NULL);
Implementation eventlist[] = { I_OnUserRegister, I_OnCheckReady, I_OnPreCommand, I_OnRehash };