summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/modules/dns.h2
-rw-r--r--include/timers.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/modules/dns.h b/include/modules/dns.h
index 898afe511..0773a8191 100644
--- a/include/modules/dns.h
+++ b/include/modules/dns.h
@@ -173,7 +173,7 @@ namespace DNS
/** Used to time out the query, xalls OnError and lets the TimerManager
* delete this request.
*/
- void Tick(time_t) override
+ void Tick() override
{
Log(LOG_DEBUG_2) << "Resolver: timeout for query " << this->name;
Query rr(*this);
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
*/