From 30b9f127113cc715cf90f87a298572b8a73b6788 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 11 Feb 2024 17:53:32 +0000 Subject: Remove the now parameter from the Timer class. This was never actually changed from the default. --- include/modules/dns.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'include/modules') diff --git a/include/modules/dns.h b/include/modules/dns.h index 801b5b2f0..898afe511 100644 --- a/include/modules/dns.h +++ b/include/modules/dns.h @@ -146,8 +146,14 @@ namespace DNS /* Creator of this request */ Module *creator; - Request(Manager *mgr, Module *c, const Anope::string &addr, QueryType qt, bool cache = false) : Timer(0), Question(addr, qt), manager(mgr), - use_cache(cache), creator(c) { } + Request(Manager *mgr, Module *c, const Anope::string &addr, QueryType qt, bool cache = false) + : Timer(0) + , Question(addr, qt) + , manager(mgr) + , use_cache(cache) + , creator(c) + { + } virtual ~Request() { -- cgit