summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobby <robby@chatbelgie.be>2018-09-25 23:35:55 +0200
committerPeter Powell <petpow@saberuk.com>2018-09-25 23:00:50 +0100
commit1e33c494bb087ca79197bef17f138104c66036c7 (patch)
tree1bacfc785b265d9dc7316e2e2641c8c7bb046885 /src
parent0c469cd47989031e77684c504d848d888299592c (diff)
m_dnsbl: Add the IP address to the positive detection server notice.
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 c28cf0ce9..838c2c5c6 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 the '%s' DNS blacklist with result %d",
- them->GetFullRealHost().c_str(), ConfEntry->name.c_str(), (ConfEntry->type==DNSBLConfEntry::A_BITMASK) ? bitmask : record);
+ ServerInstance->SNO->WriteGlobalSno('d', "Connecting user %s (%s) detected as being on the '%s' DNS blacklist with result %d",
+ them->GetFullRealHost().c_str(), them->GetIPString().c_str(), ConfEntry->name.c_str(), (ConfEntry->type==DNSBLConfEntry::A_BITMASK) ? bitmask : record);
}
else
ConfEntry->stats_misses++;