summaryrefslogtreecommitdiff
path: root/src/coremods/core_hostname_lookup.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-05-01 16:43:02 +0200
committerAttila Molnar <attilamolnar@hush.com>2015-05-01 16:43:02 +0200
commit8aa03e455e14ea85cdee65527565975ddf558b88 (patch)
tree4a3141be787b1a04a554ba3122ffa0c2e4135b78 /src/coremods/core_hostname_lookup.cpp
parentb22d8ea93321c3be05f3d28936d27cfbe56c86b3 (diff)
core_hostname_lookup Don't adjust DnsBad stats
This is done by core_dns
Diffstat (limited to 'src/coremods/core_hostname_lookup.cpp')
-rw-r--r--src/coremods/core_hostname_lookup.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/coremods/core_hostname_lookup.cpp b/src/coremods/core_hostname_lookup.cpp
index 11cc5bbba..f6e0539c1 100644
--- a/src/coremods/core_hostname_lookup.cpp
+++ b/src/coremods/core_hostname_lookup.cpp
@@ -170,7 +170,6 @@ class UserResolver : public DNS::Request
{
bound_user->WriteNotice("*** Could not resolve your hostname: " + this->manager->GetErrorStr(query->error) + "; using your IP address (" + bound_user->GetIPString() + ") instead.");
dl->set(bound_user, 0);
- ServerInstance->stats.DnsBad++;
}
}
};
@@ -215,7 +214,6 @@ class ModuleHostnameLookup : public Module
this->dnsLookup.set(user, 0);
delete res_reverse;
ServerInstance->Logs->Log(MODNAME, LOG_DEBUG, "Error in resolver: " + e.GetReason());
- ServerInstance->stats.DnsBad++;
}
}