From 0c469cd47989031e77684c504d848d888299592c Mon Sep 17 00:00:00 2001 From: Robby Date: Tue, 25 Sep 2018 23:35:10 +0200 Subject: m_dnsbl: Use the blacklist name rather than the domain. --- src/modules/m_dnsbl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp index 4ef4df6f6..c28cf0ce9 100644 --- a/src/modules/m_dnsbl.cpp +++ b/src/modules/m_dnsbl.cpp @@ -200,8 +200,8 @@ class DNSBLResolver : public DNS::Request break; } - ServerInstance->SNO->WriteGlobalSno('d', "Connecting user %s detected as being on a DNS blacklist (%s) with result %d", - them->GetFullRealHost().c_str(), ConfEntry->domain.c_str(), (ConfEntry->type==DNSBLConfEntry::A_BITMASK) ? bitmask : record); + ServerInstance->SNO->WriteGlobalSno('d', "Connecting user %s detected as being on the '%s' DNS blacklist with result %d", + them->GetFullRealHost().c_str(), ConfEntry->name.c_str(), (ConfEntry->type==DNSBLConfEntry::A_BITMASK) ? bitmask : record); } else ConfEntry->stats_misses++; -- cgit v1.2.3