From 0f2257136d71389c274f0ab6dd68db3239da1d71 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 5 Nov 2021 04:24:14 +0000 Subject: Remove unused time_t field from the timer system. This is equivalent to calling InspIRCd::Now() and is only actually used in one place in modules. --- src/inspircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 332513399..feff47b76 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -645,7 +645,7 @@ void InspIRCd::Run() if ((TIME.tv_sec % 3600) == 0) FOREACH_MOD(OnGarbageCollect, ()); - Timers.TickTimers(TIME.tv_sec); + Timers.TickTimers(); Users.DoBackgroundUserStuff(); if ((TIME.tv_sec % 5) == 0) -- cgit v1.3.1-10-gc9f91