From 792c33c3fe0dcbca05f9101e5632c48058991ba1 Mon Sep 17 00:00:00 2001 From: Doug Freed Date: Thu, 6 Aug 2015 05:24:58 +0400 Subject: Removed some DNSBL hacks --- modules/inspect.pl | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/inspect.pl') diff --git a/modules/inspect.pl b/modules/inspect.pl index 7e4e98f..ea287ff 100644 --- a/modules/inspect.pl +++ b/modules/inspect.pl @@ -48,7 +48,6 @@ sub inspect { next if ((defined($::channels->{channel}->{$chan}->{monitor})) and ($::channels->{channel}->{$chan}->{monitor} eq "no")); foreach $id (keys %aonx) { next unless ( grep { $event->{type} eq $_ } split(/[,:; ]+/, $aonx{$id}{type}) ); - next if ($aonx{$id}{class} eq 'dnsbl') && ($event->{host} =~ /(fastwebnet\.it|fastres\.net)$/); #this is a bad hack if (defined($response)) { if ($aonx{$id}{class} ne 'urlcrunch') { next; } #don't run our regular checks if this is being called from a URL checking function else { $xresult = $::classes->check($aonx{$id}{class}, $aonx{$id}, $id, $event, $chan, $response); } -- cgit v1.2.3