]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Add call for OnGarbageCollect to the hourly cleanup
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 24 Dec 2006 00:43:02 +0000 (00:43 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 24 Dec 2006 00:43:02 +0000 (00:43 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6087 e03df62e-2008-0410-955e-edbf42e46eb7

src/inspircd.cpp

index ae54987f9dedfd86c17ad4b5123dd7abae834405..6e2f9738c46fb54f430f8a7ba1f853f8a693ad03 100644 (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);