]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules.cpp
Fix some oversights
[user/henk/code/inspircd.git] / src / modules.cpp
index 334ac39f8f21b477d977f2ba90cc84e0d1690d06..9e653a4aba1460560f67a79dac1f2a54fb8a483c 100644 (file)
@@ -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))