/[smeserver]/rpms/qpsmtpd/sme10/qpsmtpd-0.96-karma_strikes.patch
ViewVC logotype

Diff of /rpms/qpsmtpd/sme10/qpsmtpd-0.96-karma_strikes.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by vip-ire, Thu Apr 21 15:38:19 2016 UTC Revision 1.2 by vip-ire, Thu Apr 21 21:07:10 2016 UTC
# Line 31  diff -Nur -x '*.orig' -x '*.rej' qpsmtpd Line 31  diff -Nur -x '*.orig' -x '*.rej' qpsmtpd
31       my $log_mess = '';       my $log_mess = '';
32    
33  -    if ($karma < -2) {    # they achieved at least 2 strikes  -    if ($karma < -2) {    # they achieved at least 2 strikes
34  +    if ($karma =< $self->{_args}{strikes}) {    # Enough negative strikes ?  +    if ($karma <= $self->{_args}{strikes}) {    # Enough negative strikes ?
35           $history--;           $history--;
36           my $negative_limit = 0 - $self->{_args}{negative};           my $negative_limit = 0 - $self->{_args}{negative};
37           if ($history <= $negative_limit) {           if ($history <= $negative_limit) {


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed