From 74dd288542e28f3604306cc69468f88b14c1b3c5 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sun, 3 Sep 2017 19:08:52 +0100 Subject: Move out of the core. --- include/modules/dns.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/modules') diff --git a/include/modules/dns.h b/include/modules/dns.h index 61abd7144..f3bf45916 100644 --- a/include/modules/dns.h +++ b/include/modules/dns.h @@ -164,7 +164,7 @@ namespace DNS Module* const creator; Request(Manager* mgr, Module* mod, const std::string& addr, QueryType qt, bool usecache = true) - : Timer((ServerInstance->Config->dns_timeout ? ServerInstance->Config->dns_timeout : 5)) + : Timer(ServerInstance->Config->ConfValue("dns")->getDuration("timeout", 5, 1)) , manager(mgr) , question(addr, qt) , use_cache(usecache) -- cgit v1.3.1-10-gc9f91