summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-24 00:37:15 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-24 00:37:15 +0000
commit73ddc65a2833f7ac34b841b89bca3c40c60420d4 (patch)
tree3000f1d61a10b99735c42a23d57e635ffdc64cb0 /src/inspircd.cpp
parentf2dfc4be59bbf6aaad8fe4785e12e45d9296432a (diff)
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
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp1
1 files changed, 1 insertions, 0 deletions
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);