Cut down on debug on restart

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6073 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2006-12-23 15:04:14 +00:00
parent 3a07789b15
commit f5f71bdfef
2 changed files with 0 additions and 4 deletions

View File

@ -475,7 +475,6 @@ void CommandParser::RemoveCommand(nspace::hash_map<std::string,command_t*>::iter
command_t* x = safei->second;
if (x->source == std::string(source))
{
ServerInstance->Log(DEBUG,"removecommands(%s) Removing dependent command: %s",x->source.c_str(),x->command.c_str());
cmdlist.erase(safei);
}
}

View File

@ -579,11 +579,8 @@ bool InspIRCd::UnloadModule(const char* filename)
}
// found the module
this->Log(DEBUG,"Removing dependent commands...");
Parser->RemoveCommands(filename);
this->Log(DEBUG,"Deleting module...");
this->EraseModule(j);
this->Log(DEBUG,"Erasing module entry...");
this->EraseFactory(j);
this->Log(DEFAULT,"Module %s unloaded",filename);
this->ModCount--;