From bf9f5acb8d00fbac49c893283cd1ce549934e38d Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 11 Apr 2005 18:42:23 +0000 Subject: Fixed /unloadmodule on crappy gentoo git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1046 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index d784c0925..d1e6af874 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -3414,8 +3414,6 @@ bool UnloadModule(const char* filename) modules[j] = NULL; log(DEBUG,"Deleting module factory pointer..."); delete factory[j]->factory; - log(DEBUG,"Deleting module factory..."); - delete factory[j]; log(DEBUG,"Erasing module entry..."); factory[j] = NULL; // here we should locate ALL resources claimed by this module... and release them -- cgit v1.3.1-10-gc9f91