summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-09 21:29:08 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-09 21:29:08 +0000
commitd91de4ee7a017891fd56babcbfc0114810b3b763 (patch)
treef3aab7ac0fb54daca9bcd53cd0ea0191aec63b8d /src/inspircd.cpp
parentc95593578c276f5001fb40266090a5cb9bbb18ca (diff)
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
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp2
1 files changed, 2 insertions, 0 deletions
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 <dlfcn.h>
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;