]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/dns.cpp
Second attempt at time() -> SI->Time(), now problems with the original were fixed...
[user/henk/code/inspircd.git] / src / dns.cpp
index 63b523bfda98069ef9ea957007e9eb4ffc84791f..85d620982630435ca0e604a5993a8b81e1ce998f 100644 (file)
@@ -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)
        {
        }