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/extra/m_pgsql.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/extra/m_pgsql.cpp') diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp index a6501c44e..998c25630 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -82,7 +82,7 @@ class ReconnectTimer final ReconnectTimer(ModulePgSQL* m) : Timer(5, false), mod(m) { } - bool Tick(time_t TIME) override; + bool Tick() override; }; struct QueueItem final @@ -618,7 +618,7 @@ class ModulePgSQL final } }; -bool ReconnectTimer::Tick(time_t time) +bool ReconnectTimer::Tick() { mod->retimer = NULL; mod->ReadConf(); -- cgit v1.3.1-10-gc9f91