From c708d7a3c0defba07171a70c68636d0b14abf590 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 9 Nov 2007 17:18:19 +0000 Subject: Same here, fix some minor memory leaks noticed by w00t git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8551 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_blockamsg.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/modules/m_blockamsg.cpp') diff --git a/src/modules/m_blockamsg.cpp b/src/modules/m_blockamsg.cpp index 4e02a84c0..4741eebef 100644 --- a/src/modules/m_blockamsg.cpp +++ b/src/modules/m_blockamsg.cpp @@ -44,10 +44,8 @@ class ModuleBlockAmsg : public Module BlockAction action; public: - ModuleBlockAmsg(InspIRCd* Me) - : Module(Me) + ModuleBlockAmsg(InspIRCd* Me) : Module(Me) { - this->OnRehash(NULL,""); Implementation eventlist[] = { I_OnRehash, I_OnPreCommand, I_OnCleanup }; ServerInstance->Modules->Attach(eventlist, this, 3); -- cgit v1.2.3