From b2935d8bd449189882cdb7ad314ddd2786a2f03f Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Tue, 23 Mar 2010 08:53:47 -0500 Subject: Calling OnError from Resolver's constructor is broken; just use the exception --- src/users.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index a99af3a1b..a0e537076 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -113,6 +113,8 @@ void LocalUser::StartDNSLookup() catch (CoreException& e) { ServerInstance->Logs->Log("USERS", DEBUG,"Error in resolver: %s",e.GetReason()); + dns_done = true; + ServerInstance->stats->statsDnsBad++; } } -- cgit v1.3.1-10-gc9f91