Fix deny incrementing to use proper variables
git-svn-id: https://svn.perl.org/qpsmtpd/branches/high_perf@412 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
parent
46cda05112
commit
12d9fa8311
@ -10,7 +10,7 @@ sub register {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sub increment_deny {
|
sub increment_deny {
|
||||||
my ($self, $level) = @_;
|
my ($self, $tran, $plugin, $level) = @_;
|
||||||
|
|
||||||
if ($level == DENY or $level == DENY_DISCONNECT) {
|
if ($level == DENY or $level == DENY_DISCONNECT) {
|
||||||
$Qpsmtpd::Stats::MAILS_REJECTED++;
|
$Qpsmtpd::Stats::MAILS_REJECTED++;
|
||||||
@ -28,4 +28,4 @@ sub increment_mails {
|
|||||||
$Qpsmtpd::Stats::MAILS_RECEIVED++;
|
$Qpsmtpd::Stats::MAILS_RECEIVED++;
|
||||||
|
|
||||||
return DECLINED;
|
return DECLINED;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user