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/modules/m_spanningtree/pingtimer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree/pingtimer.cpp') diff --git a/src/modules/m_spanningtree/pingtimer.cpp b/src/modules/m_spanningtree/pingtimer.cpp index 0187532bd..d87b39672 100644 --- a/src/modules/m_spanningtree/pingtimer.cpp +++ b/src/modules/m_spanningtree/pingtimer.cpp @@ -83,7 +83,7 @@ void PingTimer::SetState(State newstate) // If state == PS_IDLE, do not set the timer, see above why } -bool PingTimer::Tick(time_t currtime) +bool PingTimer::Tick() { if (server->IsDead()) return false; -- cgit v1.3.1-10-gc9f91