]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
m_dnsbl: Add the IP address to the positive detection server notice.
authorRobby <robby@chatbelgie.be>
Tue, 25 Sep 2018 21:35:55 +0000 (23:35 +0200)
committerPeter Powell <petpow@saberuk.com>
Tue, 25 Sep 2018 22:00:50 +0000 (23:00 +0100)
src/modules/m_dnsbl.cpp

index c28cf0ce9d18a04b0917992e5612614268a8c9bd..838c2c5c6a6d6981b1ccef5c8d69c0de14d5242e 100644 (file)
@@ -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++;