Fix warning in count_unrecognized_commands plugin (thanks to spaze

and Roger Walker)


git-svn-id: https://svn.perl.org/qpsmtpd/trunk@279 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
Ask Bjørn Hansen 2004-07-28 17:06:45 +00:00
parent 42719a179f
commit 2ab4613567
2 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,9 @@
[ many changes from cvs logs, gah ] [ many changes from cvs logs, gah ]
Fix warning in count_unrecognized_commands plugin (thanks to spaze
and Roger Walker)
Improve error messages from the Postfix module (Erik I. Bolsø, Improve error messages from the Postfix module (Erik I. Bolsø,
<knan at mo.himolde.no>) <knan at mo.himolde.no>)

View File

@ -36,7 +36,7 @@ sub check_unrec_cmd {
my $badcmdcount = my $badcmdcount =
$self->qp->connection->notes('unrec_cmd_count', $self->qp->connection->notes('unrec_cmd_count',
$self->qp->connection->notes('unrec_cmd_count') + 1 ($self->qp->connection->notes('unrec_cmd_count') || 0) + 1
); );
if ($badcmdcount >= $self->{_unrec_cmd_max}) { if ($badcmdcount >= $self->{_unrec_cmd_max}) {