summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/configreader.cpp2
-rw-r--r--src/modmanager_dynamic.cpp2
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);