From 2133bc373f26d953a4fb519f27060e7141001806 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sun, 20 Aug 2017 14:51:30 +0100 Subject: Match against core_*.so when looking for core modules. --- src/modmanager_static.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modmanager_static.cpp') 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& 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); -- cgit v1.3.1-10-gc9f91