Correct application of noissues flag in SIP.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
Joe Atzberger (siptest 2008-09-05 17:50:15 -05:00 committed by Galen Charlton
parent bb76d95a91
commit 288bbecf2f

View file

@ -92,7 +92,9 @@ sub new {
($flags->{$_}) or next;
$ilspatron{screen_msg} .= ($flags->{$_}->{message} || '') ;
if ($flags->{$_}->{noissues}){
$ilspatron{qw(charge_ok renew_ok recall_ok hold_ok)} = (0,0,0,0);
foreach my $toggle (qw(charge_ok renew_ok recall_ok hold_ok)) {
$ilspatron{$toggle} = 0;
}
}
}