dnsbl: smite blacklisted IPs with -1 karma
This commit is contained in:
parent
d5f1f3f72b
commit
0eef321990
@ -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; };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user