diff options
| author | Sadie Powell <sadie@witchery.services> | 2024-02-11 18:16:20 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2024-02-11 18:18:18 +0000 |
| commit | 5c50bcb9c76afc6e2d8552ebc57674f385c674fc (patch) | |
| tree | dbf7e8d4202cbef6528972d0e3501f7872aedc9b /modules/chanserv | |
| parent | cef56abea4cf302d20ba7ab33719e86276b672ea (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.cpp | 2 | ||||
| -rw-r--r-- | modules/chanserv/cs_ban.cpp | 2 |
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) |
