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
This commit is contained in:
brain 2006-12-24 00:37:15 +00:00
parent f2dfc4be59
commit 73ddc65a28

View File

@ -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);