Add call for OnGarbageCollect to the hourly cleanup

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6087 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2006-12-24 00:43:02 +00:00
parent b31a8ee0ad
commit 31f75f75be

View File

@ -815,6 +815,7 @@ void InspIRCd::DoOneIteration(bool process_module_sockets)
{
irc::whowas::MaintainWhoWas(this, TIME);
this->RehashUsersAndChans();
FOREACH_MOD(I_OnGarbageCollect, OnGarbageCollect());
}
Timers->TickTimers(TIME);
this->DoBackgroundUserStuff(TIME);