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:
Matt Sergeant 2005-05-09 13:41:10 +00:00
parent 46cda05112
commit 12d9fa8311

View File

@ -10,7 +10,7 @@ sub register {
}
sub increment_deny {
my ($self, $level) = @_;
my ($self, $tran, $plugin, $level) = @_;
if ($level == DENY or $level == DENY_DISCONNECT) {
$Qpsmtpd::Stats::MAILS_REJECTED++;
@ -28,4 +28,4 @@ sub increment_mails {
$Qpsmtpd::Stats::MAILS_RECEIVED++;
return DECLINED;
}
}