Add missing $self and explicit return
This commit is contained in:
parent
179d6427fc
commit
e9400cc085
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user