diff options
| author | 2006-12-24 00:37:15 +0000 | |
|---|---|---|
| committer | 2006-12-24 00:37:15 +0000 | |
| commit | 73ddc65a2833f7ac34b841b89bca3c40c60420d4 (patch) | |
| tree | 3000f1d61a10b99735c42a23d57e635ffdc64cb0 /src/inspircd.cpp | |
| parent | Fix loop when quitting multiple users (this is probably whats eating cpu) (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.cpp | 1 |
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); |
