]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_dnsbl.cpp
Fix an inverted condition in the cgiirc module.
[user/henk/code/inspircd.git] / src / modules / m_dnsbl.cpp
index 4ef4df6f691b4f69be5e433fec43ef0af9742c68..838c2c5c6a6d6981b1ccef5c8d69c0de14d5242e 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 (%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++;