diff options
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 |