From 2a8510472b95e11f8f85f26ca610b28c229504c0 Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Wed, 13 Oct 2010 21:06:59 -0400 Subject: Fix memory leak in m_conn_waitpong caught by its breaking in 2.1 --- src/modules/m_conn_waitpong.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/m_conn_waitpong.cpp b/src/modules/m_conn_waitpong.cpp index 00b728b51..461a3754a 100644 --- a/src/modules/m_conn_waitpong.cpp +++ b/src/modules/m_conn_waitpong.cpp @@ -25,6 +25,7 @@ class ModuleWaitPong : public Module ModuleWaitPong() : ext("waitpong_pingstr", this) { + ServerInstance->Modules->AddService(ext); OnRehash(NULL); Implementation eventlist[] = { I_OnUserRegister, I_OnCheckReady, I_OnPreCommand, I_OnRehash }; ServerInstance->Modules->Attach(eventlist, this, 4); -- cgit v1.2.3