aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar Daniel De Graaf2010-03-23 08:53:47 -0500
committerGravatar Daniel De Graaf2010-08-03 17:32:41 -0400
commitb2935d8bd449189882cdb7ad314ddd2786a2f03f (patch)
tree2b3f4f32987e964bae5d41c93da066d3e64c23b1 /src/users.cpp
parentChange 2.0 cloak function to use variable-length segments (diff)
Calling OnError from Resolver's constructor is broken; just use the exception
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 2 insertions, 0 deletions
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++;
}
}