From: Jan "Yenya" Kasprzak Date: Fri, 11 Feb 2011 23:18:51 +0000 (+0100) Subject: LogPrinter: fix uniq condition. X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=0bc768df52ed78631f048762071a3333e1030af5;hp=be20fd2ec154ea3fe7fbb3af3357062c09f1ad10;p=slotcarman.git LogPrinter: fix uniq condition. --- diff --git a/SCX/LogPrinter.pm b/SCX/LogPrinter.pm index 77ed03a..445dd4d 100644 --- a/SCX/LogPrinter.pm +++ b/SCX/LogPrinter.pm @@ -27,7 +27,7 @@ sub cond_print { return if $self->{skip_types}->{$key}; - if ($key !~ /finish_line/ || @vals) { + if ($key !~ /finish_line/ && @vals) { my $val = join('|', @vals); return if $self->{uniq_only} && defined $self->{uniq}->{$key}