From 5c50bcb9c76afc6e2d8552ebc57674f385c674fc Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 11 Feb 2024 18:16:20 +0000 Subject: Remove the time_t parameter from Tick and TickTimers. Most uses of Tick do not use the parameter and even when it is used it is always the same as CurTime. --- modules/chanserv/chanserv.cpp | 2 +- modules/chanserv/cs_ban.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/chanserv') diff --git a/modules/chanserv/chanserv.cpp b/modules/chanserv/chanserv.cpp index 783c47261..d2667432c 100644 --- a/modules/chanserv/chanserv.cpp +++ b/modules/chanserv/chanserv.cpp @@ -75,7 +75,7 @@ public: /** Called when the delay is up * @param The current time */ - void Tick(time_t) override + void Tick() override { if (!c) return; diff --git a/modules/chanserv/cs_ban.cpp b/modules/chanserv/cs_ban.cpp index da54cd4f1..d400631ab 100644 --- a/modules/chanserv/cs_ban.cpp +++ b/modules/chanserv/cs_ban.cpp @@ -30,7 +30,7 @@ public: { } - void Tick(time_t ctime) override + void Tick() override { Channel *c = Channel::Find(this->channel); if (c) -- cgit