diff options
Diffstat (limited to 'src/coremods/core_hostname_lookup.cpp')
-rw-r--r-- | src/coremods/core_hostname_lookup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coremods/core_hostname_lookup.cpp b/src/coremods/core_hostname_lookup.cpp index 3d3e9703a..7f3f23149 100644 --- a/src/coremods/core_hostname_lookup.cpp +++ b/src/coremods/core_hostname_lookup.cpp @@ -170,7 +170,7 @@ 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->statsDnsBad++; + ServerInstance->stats.DnsBad++; } } }; @@ -215,7 +215,7 @@ 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->statsDnsBad++; + ServerInstance->stats.DnsBad++; } } |