X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fconfigreader.cpp;h=8d705f0cae6b46f99e59fc3fd85e78c7f3096185;hb=7892c8a0313c50d8138942ff3b112691caf05a2f;hp=a41e5d07f739b924a5f9b18bf3c3f55c3e40d78c;hpb=17fd32bf7492aa40ce531b64c81754f039907ca7;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/configreader.cpp b/src/configreader.cpp index a41e5d07f..8d705f0ca 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -1229,6 +1229,9 @@ void ServerConfig::ApplyModules(User* user) for (std::set::iterator removing = removed_modules.begin(); removing != removed_modules.end(); removing++) { + // Don't remove cmd_*.so, just remove m_*.so + if (removing->c_str()[0] == 'c') + continue; if (ServerInstance->Modules->Unload(removing->c_str())) { ServerInstance->SNO->WriteToSnoMask('a', "*** REHASH UNLOADED MODULE: %s",removing->c_str());