]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/configreader.cpp
Fix detection of the Apple variant of Clang.
[user/henk/code/inspircd.git] / src / configreader.cpp
index 68495623c778b1a03ad9a02fad1f3e7ac3f87e01..974e52abf137cd3488023463db85a88dcf6bd3b8 100644 (file)
@@ -671,6 +671,7 @@ void ServerConfig::ApplyModules(User* user)
                std::string name;
                if (tag->readString("name", name))
                {
+                       name = ModuleManager::ExpandModName(name);
                        // if this module is already loaded, the erase will succeed, so we need do nothing
                        // otherwise, we need to add the module (which will be done later)
                        if (removed_modules.erase(name) == 0)