summaryrefslogtreecommitdiff
path: root/include/modules
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-02-11 17:53:32 +0000
committerSadie Powell <sadie@witchery.services>2024-02-11 17:56:35 +0000
commit30b9f127113cc715cf90f87a298572b8a73b6788 (patch)
tree9c3ceafda20a3d370425f38086e8b3fc7e7698b7 /include/modules
parent5337326cc976612657677c41d7a1d7bb1e671968 (diff)
Remove the now parameter from the Timer class.
This was never actually changed from the default.
Diffstat (limited to 'include/modules')
-rw-r--r--include/modules/dns.h10
1 files changed, 8 insertions, 2 deletions
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()
{