diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-03-05 16:30:00 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-03-05 16:30:00 +0100 |
commit | b935da1b4c5484fa41d639ce335eb21a39c97389 (patch) | |
tree | 7257697a7cef275e65a1f30f1d7a8cdbc81bb7f2 | |
parent | 050c2cf253e27847f50eec29c5502904b112437b (diff) |
Load core_*.so instead of cmd_*.so
-rw-r--r-- | src/configreader.cpp | 2 | ||||
-rw-r--r-- | src/modmanager_dynamic.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index 0cdfedf04..12670b446 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -677,7 +677,7 @@ void ServerConfig::ApplyModules(User* user) for (ModuleManager::ModuleMap::iterator i = removed_modules.begin(); i != removed_modules.end(); ++i) { const std::string& modname = i->first; - // Don't remove cmd_*.so, just remove m_*.so + // Don't remove core_*.so, just remove m_*.so if (modname.c_str()[0] == 'c') continue; if (ServerInstance->Modules->Unload(i->second)) diff --git a/src/modmanager_dynamic.cpp b/src/modmanager_dynamic.cpp index 0d0042cab..afb690207 100644 --- a/src/modmanager_dynamic.cpp +++ b/src/modmanager_dynamic.cpp @@ -136,7 +136,7 @@ void ModuleManager::LoadCoreModules(std::map<std::string, ServiceList>& servicem dirent* entry = NULL; while (0 != (entry = readdir(library))) { - if (InspIRCd::Match(entry->d_name, "cmd_*.so", ascii_case_insensitive_map)) + if (InspIRCd::Match(entry->d_name, "core_*.so", ascii_case_insensitive_map)) { std::cout << "."; fflush(stdout); |