summaryrefslogtreecommitdiffstats
path: root/src/Common
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-08-16 03:29:04 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-08-16 03:29:04 +0200
commitcbd8fb1d890ba31e607de81fbb49da80498cc61e (patch)
tree63e78701d8f93070b0af2ddccb42c5d0019942c8 /src/Common
parentb6f7d36a544a7a8c18c815ef4158cf684108d06d (diff)
downloadmad-cbd8fb1d890ba31e607de81fbb49da80498cc61e.tar
mad-cbd8fb1d890ba31e607de81fbb49da80498cc61e.zip
mad-server: Load modules in config file
Diffstat (limited to 'src/Common')
-rw-r--r--src/Common/ModuleManager.cpp2
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());