dnsbl: smite blacklisted IPs with -1 karma

This commit is contained in:
Matt Simerson 2013-03-23 01:05:15 -04:00
parent 3b71f06682
commit d427f43f54

View File

@ -191,6 +191,8 @@ sub hook_connect {
next if ! $result;
$self->adjust_karma( -1 );
if ( ! $dnsbl ) { ($dnsbl) = ($result =~ m/(?:\d+\.){4}(.*)/); };
if ( ! $dnsbl ) { $dnsbl = $result; };