- Load("cmd_all.so", true);
- Load("cmd_whowas.so", true);
- Load("cmd_lusers.so", true);
- Load("cmd_privmsg.so", true);
+ for (modmap::const_iterator i = modlist->begin(); i != modlist->end(); ++i)
+ {
+ const std::string modname = i->first;
+ if (InspIRCd::Match(modname, "core_*.so", ascii_case_insensitive_map))
+ {
+ this->NewServices = &servicemap[modname];
+ Load(modname, true);
+ }
+ }
+ this->NewServices = NULL;