diff options
| author | 2017-08-20 14:51:30 +0100 | |
|---|---|---|
| committer | 2017-08-27 13:14:41 +0100 | |
| commit | 2133bc373f26d953a4fb519f27060e7141001806 (patch) | |
| tree | 4d4d7a47b70be96006a41bed255da6d0f4916e34 /src/modmanager_static.cpp | |
| parent | Remove some outdated documentation from the SocketEngine class. (diff) | |
Match against core_*.so when looking for core modules.
Diffstat (limited to 'src/modmanager_static.cpp')
| -rw-r--r-- | src/modmanager_static.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modmanager_static.cpp b/src/modmanager_static.cpp index 9a385dd3c..03e240993 100644 --- a/src/modmanager_static.cpp +++ b/src/modmanager_static.cpp @@ -136,7 +136,7 @@ void ModuleManager::LoadCoreModules(std::map<std::string, ServiceList>& servicem for (modmap::const_iterator i = modlist->begin(); i != modlist->end(); ++i) { const std::string modname = i->first; - if (modname[0] == 'c') + if (InspIRCd::Match(modname, "core_*.so", ascii_case_insensitive_map)) { this->NewServices = &servicemap[modname]; Load(modname, true); |
