summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/inspircd.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 4d02529cc..057291a84 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -3551,10 +3551,6 @@ bool LoadModule(const char* filename)
/* save the module and the module's classfactory, if
* this isnt done, random crashes can occur :/ */
module_names.push_back(filename);
- if (extended)
- factory.erase(factory.end());
- if (mextended)
- modules.erase(modules.end());
}
else
{