diff options
author | Daniel De Graaf <danieldg@inspircd.org> | 2010-10-13 21:06:59 -0400 |
---|---|---|
committer | Daniel De Graaf <danieldg@inspircd.org> | 2010-10-13 21:06:59 -0400 |
commit | 2a8510472b95e11f8f85f26ca610b28c229504c0 (patch) | |
tree | dc3b8b0e61da33261ebe6c525af4aea0b80a8323 /src | |
parent | 4fb31d6a3494a99819225fe36da75c5991461dc6 (diff) |
Fix memory leak in m_conn_waitpong caught by its breaking in 2.1
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_conn_waitpong.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); |