mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 18:49:03 -04:00
m_dnsbl: Add the IP address to the positive detection server notice.
This commit is contained in:
parent
0c469cd479
commit
1e33c494bb
@ -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++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user