X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodmanager_static.cpp;h=4de111b63ae44e303b906f069915e609a52f5d52;hb=7ece928bab20881d6fe24c4479f4ff9e0a8a7179;hp=5c04a76800f6e211afbfea316c0ca4ea11cd45f4;hpb=c0aba5b728b0a921d95ec120aa638dab1520b42f;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modmanager_static.cpp b/src/modmanager_static.cpp index 5c04a7680..4de111b63 100644 --- a/src/modmanager_static.cpp +++ b/src/modmanager_static.cpp @@ -17,7 +17,7 @@ */ -#define MODNAME "cmd_all" +#define MODNAME "core_all" #include "inspircd.h" #include "exitcodes.h" @@ -72,7 +72,7 @@ class AllModule : public Module stdalgo::delete_all(cmds); } - Version GetVersion() + Version GetVersion() CXX11_OVERRIDE { return Version("All commands", VF_VENDOR|VF_CORE); } @@ -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);