diff options
Diffstat (limited to 'src/Common')
-rw-r--r-- | src/Common/ModuleManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/ModuleManager.cpp b/src/Common/ModuleManager.cpp index fc82ea8..551229c 100644 --- a/src/Common/ModuleManager.cpp +++ b/src/Common/ModuleManager.cpp @@ -59,7 +59,7 @@ bool ModuleManager::handleConfigEntry(const Core::ConfigEntry &entry, bool handl if(handled) return false; - if(entry[0].getKey().matches("LoadModule")) { + if(entry[0].getKey().matches("LoadModule") && entry[1].empty()) { if(!loadModule(entry[0][0].c_str())) application->logf(Core::LoggerBase::ERROR, "Can't load module '%s'.", entry[0][0].c_str()); |