summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobby <robby@chatbelgie.be>2018-09-25 23:35:10 +0200
committerPeter Powell <petpow@saberuk.com>2018-09-25 23:00:50 +0100
commit0c469cd47989031e77684c504d848d888299592c (patch)
tree183a0bf4fd661330d4422fc687c7ab7bab09bbe7 /src
parent9e65d1e95449b55a06443f3386ccc45bc9e43a98 (diff)
m_dnsbl: Use the blacklist name rather than the domain.
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_dnsbl.cpp4
1 files changed, 2 insertions, 2 deletions
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++;