diff options
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index 5b2cc8ee4..ed85bedee 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -555,7 +555,7 @@ bool ModuleManager::Unload(const char* filename) this->DetachAll(modfind->second.second); - Instance->Parser->RemoveCommands(filename); + Instance->Parser->RemoveCommands(modfind->second.second); delete modfind->second.second; delete modfind->second.first; |