summaryrefslogtreecommitdiff
path: root/modules/chanserv
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-02-11 18:16:20 +0000
committerSadie Powell <sadie@witchery.services>2024-02-11 18:18:18 +0000
commit5c50bcb9c76afc6e2d8552ebc57674f385c674fc (patch)
treedbf7e8d4202cbef6528972d0e3501f7872aedc9b /modules/chanserv
parentcef56abea4cf302d20ba7ab33719e86276b672ea (diff)
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.
Diffstat (limited to 'modules/chanserv')
-rw-r--r--modules/chanserv/chanserv.cpp2
-rw-r--r--modules/chanserv/cs_ban.cpp2
2 files changed, 2 insertions, 2 deletions
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)