diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dns.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dns.cpp b/src/dns.cpp index 4d06e02ab..b2dbf40a7 100644 --- a/src/dns.cpp +++ b/src/dns.cpp @@ -131,7 +131,8 @@ class RequestTimeout : public Timer } ~RequestTimeout() { - Tick(0); + if (ServerInstance->Res) + Tick(0); } void Tick(time_t) |