diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-11 18:42:23 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-11 18:42:23 +0000 |
commit | bf9f5acb8d00fbac49c893283cd1ce549934e38d (patch) | |
tree | d0f1ecf6d33de701fd0ee6ebb96b9a974abe08e2 /src/inspircd.cpp | |
parent | d59e531c864d7e278d2b1808d184a587d07f0a76 (diff) |
Fixed /unloadmodule on crappy gentoo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1046 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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 |