From b935da1b4c5484fa41d639ce335eb21a39c97389 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Wed, 5 Mar 2014 16:30:00 +0100 Subject: Load core_*.so instead of cmd_*.so --- src/configreader.cpp | 2 +- src/modmanager_dynamic.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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& 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); -- cgit v1.2.3