X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules.cpp;h=9e653a4aba1460560f67a79dac1f2a54fb8a483c;hb=72555992d16af9a1ca28ada1dc70591fb7653dfe;hp=334ac39f8f21b477d977f2ba90cc84e0d1690d06;hpb=7bb75e575b5f6a555a0651057c0cb5b30f93a9d9;p=user%2Fhenk%2Fcode%2Finspircd.git 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))