dnsbl: smite blacklisted IPs with -1 karma

This commit is contained in:
Matt Simerson 2013-03-23 01:05:15 -04:00
parent d5f1f3f72b
commit 0eef321990

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; };