aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2015-05-22 18:49:20 +0200
committerGravatar Attila Molnar2015-05-22 18:49:20 +0200
commitdf9bd50866a1ee95db78b88090aae74e245ad469 (patch)
tree7a935c76f218d5b1fd46b130febe0990760e92f8 /src/modules.cpp
parentUpdate example configuration to say the new style module names everywhere (diff)
downloadinspircd++-df9bd50866a1ee95db78b88090aae74e245ad469.tar.gz
inspircd++-df9bd50866a1ee95db78b88090aae74e245ad469.tar.bz2
inspircd++-df9bd50866a1ee95db78b88090aae74e245ad469.zip
Fix some oversights
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 334ac39f8..9e653a4ab 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -499,7 +499,7 @@ void ModuleManager::LoadAll()
{
ConfigTag* tag = i->second;
std::string name = tag->getString("name");
- this->NewServices = &servicemap[name];
+ this->NewServices = &servicemap[ExpandModName(name)];
std::cout << "[" << con_green << "*" << con_reset << "] Loading module:\t" << con_green << name << con_reset << std::endl;
if (!this->Load(name, true))