Remove unnecessary // from check_genre()

This commit is contained in:
Jared Johnson 2014-12-11 16:49:49 -06:00
parent 1e2c0a6f78
commit dad4fb1d29

View File

@ -223,7 +223,7 @@ sub check_genre {
return 1 if $p0f->{genre} eq $phrase; return 1 if $p0f->{genre} eq $phrase;
} }
for my $re ( @{ $self->{os_block_re} || [] } ) { for my $re ( @{ $self->{os_block_re} || [] } ) {
return 1 if $p0f->{genre} =~ /$re/; return 1 if $p0f->{genre} =~ $re;
} }
return 0; return 0;
} }