summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 6e2f9738c..20dd162e5 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -815,7 +815,7 @@ void InspIRCd::DoOneIteration(bool process_module_sockets)
{
irc::whowas::MaintainWhoWas(this, TIME);
this->RehashUsersAndChans();
- FOREACH_MOD(I_OnGarbageCollect, OnGarbageCollect());
+ FOREACH_MOD_I(this, I_OnGarbageCollect, OnGarbageCollect());
}
Timers->TickTimers(TIME);
this->DoBackgroundUserStuff(TIME);