summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 59b52b5b1..c7509fad9 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -558,6 +558,7 @@ bool ModuleManager::Unload(const char* filename)
this->DetachAll(modfind->second.second);
Instance->Parser->RemoveCommands(modfind->second.second);
+ Extensible::UnRegister(modfind->second.second);
delete modfind->second.second;
delete modfind->second.first;