summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-06-26 17:01:33 -0400
committerattilamolnar <attilamolnar@hush.com>2013-08-04 16:08:57 +0200
commit8710724b5518ae9858309e548514f76e620a8459 (patch)
treecb4efb99580cb8957353848a9dc34d5a83ab172e /src/inspircd.cpp
parent36f93c0e7f8a980943237b0b28138ade86f5e573 (diff)
Change the syntax of FOREACH macros to be less dumb.
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 48746cb52..78659089c 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -701,7 +701,7 @@ void InspIRCd::Run()
if ((TIME.tv_sec % 3600) == 0)
{
Users->GarbageCollect();
- FOREACH_MOD(I_OnGarbageCollect, OnGarbageCollect());
+ FOREACH_MOD(OnGarbageCollect, ());
}
Timers->TickTimers(TIME.tv_sec);
@@ -709,7 +709,7 @@ void InspIRCd::Run()
if ((TIME.tv_sec % 5) == 0)
{
- FOREACH_MOD(I_OnBackgroundTimer,OnBackgroundTimer(TIME.tv_sec));
+ FOREACH_MOD(OnBackgroundTimer, (TIME.tv_sec));
SNO->FlushSnotices();
}
}