From c630870d50354d426380029014ad9ebdf257b85d Mon Sep 17 00:00:00 2001 From: danieldg Date: Sun, 6 Sep 2009 20:23:42 +0000 Subject: Fix rehash unloading core commands git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11684 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/configreader.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/configreader.cpp') diff --git a/src/configreader.cpp b/src/configreader.cpp index a41e5d07f..4084257e5 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[0] == 'c') + continue; if (ServerInstance->Modules->Unload(removing->c_str())) { ServerInstance->SNO->WriteToSnoMask('a', "*** REHASH UNLOADED MODULE: %s",removing->c_str()); -- cgit v1.2.3