From 73ddc65a2833f7ac34b841b89bca3c40c60420d4 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 24 Dec 2006 00:37:15 +0000 Subject: Do garbage collection of hash map automatically every hour git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6085 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 694627d83..ae54987f9 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -814,6 +814,7 @@ void InspIRCd::DoOneIteration(bool process_module_sockets) if ((TIME % 3600) == 0) { irc::whowas::MaintainWhoWas(this, TIME); + this->RehashUsersAndChans(); } Timers->TickTimers(TIME); this->DoBackgroundUserStuff(TIME); -- cgit v1.2.3