X-Git-Url: https://git.sesse.net/?p=pr0n;a=blobdiff_plain;f=perl%2FSesse%2Fpr0n%2FCommon.pm;h=c6f1c5b59fb87b89c375cde62b3967178dbe4ed8;hp=d03f46f1f01a01a10b656bb0efeb53aeb1adfb6e;hb=477d42570558e6d4f197d80ac345d20fbcaef789;hpb=bbc0c1c88b7d8365df677eef51093b7b331f4666 diff --git a/perl/Sesse/pr0n/Common.pm b/perl/Sesse/pr0n/Common.pm index d03f46f..c6f1c5b 100644 --- a/perl/Sesse/pr0n/Common.pm +++ b/perl/Sesse/pr0n/Common.pm @@ -438,9 +438,11 @@ sub make_infobox { } if (defined($info->{'Flash'})) { - if ($info->{'Flash'} =~ /did not fire/ || $info->{'Flash'} =~ /No Flash/) { + if ($info->{'Flash'} =~ /did not fire/i || + $info->{'Flash'} =~ /no flash/i || + $info->{'Flash'} =~ /not fired/i) { push @lines, "No flash"; - } elsif ($info->{'Flash'} =~ /fired/) { + } elsif ($info->{'Flash'} =~ /fired/i) { push @lines, "Flash"; } else { push @lines, $info->{'Flash'};