summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index b6a28193a..80d80cb43 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -162,7 +162,7 @@ ModResult Module::OnAcceptConnection(int, ListenSocket*, irc::sockets::sockadd
void Module::OnSendWhoLine(User*, const std::vector<std::string>&, User*, std::string&) { DetachEvent(I_OnSendWhoLine); }
void Module::OnSetUserIP(LocalUser*) { DetachEvent(I_OnSetUserIP); }
-ModuleManager::ModuleManager() : ModCount(0)
+ModuleManager::ModuleManager()
{
}
@@ -388,7 +388,6 @@ void ModuleManager::DoSafeUnload(Module* mod)
ServerInstance->GlobalCulls.AddItem(mod);
ServerInstance->Logs->Log("MODULE", LOG_DEFAULT, "Module %s unloaded",mod->ModuleSourceFile.c_str());
- this->ModCount--;
ServerInstance->ISupport.Build();
}