]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
m_dnsbl: Use the blacklist name rather than the domain.
authorRobby <robby@chatbelgie.be>
Tue, 25 Sep 2018 21:35:10 +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 4ef4df6f691b4f69be5e433fec43ef0af9742c68..c28cf0ce9d18a04b0917992e5612614268a8c9bd 100644 (file)
@@ -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++;