13 lines
582 B
Diff
13 lines
582 B
Diff
diff -Nur qpsmtpd-0.96/plugins/karma qpsmtpd-0.96_bz9462/plugins/karma
|
|
--- qpsmtpd-0.96/plugins/karma 2016-05-09 23:56:51.145450697 +0200
|
|
+++ qpsmtpd-0.96_bz9462/plugins/karma 2016-05-09 23:57:34.484446254 +0200
|
|
@@ -449,7 +449,7 @@
|
|
my $history = ($nice || 0) - $naughty;
|
|
my $log_mess = '';
|
|
|
|
- if ($karma <= $self->{_args}{strikes}) { # Enough negative strikes ?
|
|
+ if ($karma <= -$self->{_args}{strikes}) { # Enough negative strikes ?
|
|
$history--;
|
|
my $negative_limit = 0 - $self->{_args}{negative};
|
|
if ($history <= $negative_limit) {
|