X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fdns.cpp;h=85d620982630435ca0e604a5993a8b81e1ce998f;hb=78f26492a65b438f5b87f1574ed7785fd77ae2f0;hp=63b523bfda98069ef9ea957007e9eb4ffc84791f;hpb=b438e659fea8d3808b4648d7fc77abccbb6165fc;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/dns.cpp b/src/dns.cpp index 63b523bfd..85d620982 100644 --- a/src/dns.cpp +++ b/src/dns.cpp @@ -126,7 +126,7 @@ class RequestTimeout : public Timer DNSRequest* watch; int watchid; public: - RequestTimeout(unsigned long n, InspIRCd* SI, DNSRequest* watching, int id) : Timer(n, time(NULL)), ServerInstance(SI), watch(watching), watchid(id) + RequestTimeout(unsigned long n, InspIRCd* SI, DNSRequest* watching, int id) : Timer(n, SI->Time()), ServerInstance(SI), watch(watching), watchid(id) { }