diff options
| author | 2015-06-04 00:03:29 +0200 | |
|---|---|---|
| committer | 2015-06-04 00:03:29 +0200 | |
| commit | 9b9326ff08565c6cf4acdc865884cc7c1f426822 (patch) | |
| tree | 2454f2f73c99df2a337eae7d0a936d70dac77ded /src/configreader.cpp | |
| parent | Merge pull request #1044 from SaberUK/master+multichar-prefix (diff) | |
| download | inspircd++-9b9326ff08565c6cf4acdc865884cc7c1f426822.tar.gz inspircd++-9b9326ff08565c6cf4acdc865884cc7c1f426822.tar.bz2 inspircd++-9b9326ff08565c6cf4acdc865884cc7c1f426822.zip | |
Expand module names in ServerConfig::ApplyModules()
Diffstat (limited to 'src/configreader.cpp')
| -rw-r--r-- | src/configreader.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index 68495623c..974e52abf 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -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) |
