Fix spamassassin plugin log noise if spam score is 0.0

This commit is contained in:
Charlie Brady 2009-07-20 13:02:38 +02:00 committed by Filippo Carletti
parent a138bcf5a4
commit f4eb90cba3
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
Fix spamassassin plugin log noise if spam score is 0.0
Disconnect host in rhsbl (Charlie Brady)
POD cleanups (Steve Kemp)

View File

@ -188,7 +188,7 @@ sub hook_data_post { # check_spam
}
}
my $tests = <SPAMD>;
my $tests = <SPAMD>|| '';
close SPAMD;
$tests =~ s/\015//; # hack for outlook
$flag = $flag eq 'True' ? 'Yes' : 'No';