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 /include/timers.h | |
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 'include/timers.h')
-rw-r--r-- | include/timers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/timers.h b/include/timers.h index ad436c0db..6233eb2d8 100644 --- a/include/timers.h +++ b/include/timers.h @@ -83,7 +83,7 @@ public: /** Called when the timer ticks * This should be overridden with something useful */ - virtual void Tick(time_t ctime) = 0; + virtual void Tick() = 0; }; /** This class manages sets of Timers, and triggers them at their defined times. @@ -109,7 +109,7 @@ public: /** Tick all pending timers * @param ctime The current time */ - static void TickTimers(time_t ctime = Anope::CurTime); + static void TickTimers(); /** Deletes all timers owned by the given module */ |