mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-13 20:49:02 -04:00
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:
parent
3a07789b15
commit
f5f71bdfef
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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--;
|
||||
|
Loading…
x
Reference in New Issue
Block a user