summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/command_parse.cpp1
-rw-r--r--src/inspircd.cpp3
2 files changed, 0 insertions, 4 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp
index 3ce91afda..cb43df1a1 100644
--- a/src/command_parse.cpp
+++ b/src/command_parse.cpp
@@ -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);
}
}
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 3b90d15dd..b74fb4046 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -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--;