Add missing $self and explicit return

This commit is contained in:
Jared Johnson 2014-10-28 14:37:56 -05:00
parent 179d6427fc
commit e9400cc085

View File

@ -506,9 +506,11 @@ sub prune_db {
} }
sub exclude { sub exclude {
my ( $self ) = @_;
return 1 if $self->is_immune(); return 1 if $self->is_immune();
return 1 if !$self->p0f_match(); return 1 if !$self->p0f_match();
return 1 if $self->geoip_match(); return 1 if $self->geoip_match();
return;
} }
sub p0f_match { sub p0f_match {