1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 14:23:14 +02:00

Remove the now parameter from the Timer class.

This was never actually changed from the default.
This commit is contained in:
Sadie Powell
2024-02-11 17:53:32 +00:00
parent 5337326cc9
commit 30b9f12711
15 changed files with 89 additions and 44 deletions
+8 -2
View File
@@ -45,7 +45,10 @@ class UpdateTimer final
: public Timer
{
public:
UpdateTimer(time_t timeout) : Timer(timeout, Anope::CurTime, true) { }
UpdateTimer(time_t timeout)
: Timer(timeout, true)
{
}
void Tick(time_t) override
{
@@ -57,7 +60,10 @@ class ExpireTimer final
: public Timer
{
public:
ExpireTimer(time_t timeout) : Timer(timeout, Anope::CurTime, true) { }
ExpireTimer(time_t timeout)
: Timer(timeout, true)
{
}
void Tick(time_t) override
{