From d91de4ee7a017891fd56babcbfc0114810b3b763 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 9 Sep 2006 21:29:08 +0000 Subject: ModuleFactories are not being deleted, this means that updates arent loaded git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5191 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 7efbaa54f..dc139fa0d 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -40,6 +40,7 @@ #include "socket.h" #include "typedefs.h" #include "command_parse.h" +#include using irc::sockets::NonBlocking; using irc::sockets::Blocking; @@ -343,6 +344,7 @@ void InspIRCd::EraseFactory(int j) { if (v == j) { + delete *t; factory.erase(t); factory.push_back(NULL); return; -- cgit v1.2.3