mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 19:19:02 -04:00
Load core_*.so instead of cmd_*.so
This commit is contained in:
parent
050c2cf253
commit
b935da1b4c
@ -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))
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user