diff options
| author | 2015-05-01 16:43:02 +0200 | |
|---|---|---|
| committer | 2015-05-01 16:43:02 +0200 | |
| commit | 8aa03e455e14ea85cdee65527565975ddf558b88 (patch) | |
| tree | 4a3141be787b1a04a554ba3122ffa0c2e4135b78 /src | |
| parent | m_httpd Fix iteration in OnUnloadModule() (diff) | |
| download | inspircd++-8aa03e455e14ea85cdee65527565975ddf558b88.tar.gz inspircd++-8aa03e455e14ea85cdee65527565975ddf558b88.tar.bz2 inspircd++-8aa03e455e14ea85cdee65527565975ddf558b88.zip | |
core_hostname_lookup Don't adjust DnsBad stats
This is done by core_dns
Diffstat (limited to 'src')
| -rw-r--r-- | src/coremods/core_hostname_lookup.cpp | 2 |
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++; } } |
