Commit 0821fdf2 authored by Chris Lamb's avatar Chris Lamb 💬

zip.pm: Don't mix high and low-precedence booleans.

parent d5ba45ea
......@@ -146,7 +146,7 @@ sub normalize {
die "Reading ZIP archive failed: " . join("\n", @errors);
}
}
if (exists($options{archive_filter}) && not($options{archive_filter}->($zip))) {
if (exists($options{archive_filter}) and not($options{archive_filter}->($zip))) {
return 0;
}
my @filenames = sort $filename_cmp $zip->memberNames();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment