diff options
| author | 2009-09-06 20:23:42 +0000 | |
|---|---|---|
| committer | 2009-09-06 20:23:42 +0000 | |
| commit | c630870d50354d426380029014ad9ebdf257b85d (patch) | |
| tree | e3e01769a292c003dd1df5fcf4987dcc6e7500d7 /src/configreader.cpp | |
| parent | Correct ModDesc. (diff) | |
| download | inspircd++-c630870d50354d426380029014ad9ebdf257b85d.tar.gz inspircd++-c630870d50354d426380029014ad9ebdf257b85d.tar.bz2 inspircd++-c630870d50354d426380029014ad9ebdf257b85d.zip | |
Fix rehash unloading core commands
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11684 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/configreader.cpp')
| -rw-r--r-- | src/configreader.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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<std::string>::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()); |
