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:
+8
-2
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user