diff --git a/Changes b/Changes index 8d3c191..8247ed4 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ 0.33 + Fix "help" command when there's no "smtpgreeting" configured (the default) + (Thanks to Thomas Ogrisegg) + Move the Qpsmtpd::Auth POD to a top-level README to be more obvious. Add Qpsmtpd::Command to gather all parsing logic in one place (Hanno diff --git a/lib/Qpsmtpd/SMTP.pm b/lib/Qpsmtpd/SMTP.pm index 6c794c2..577d7bf 100644 --- a/lib/Qpsmtpd/SMTP.pm +++ b/lib/Qpsmtpd/SMTP.pm @@ -417,7 +417,7 @@ sub help { my $self = shift; $self->respond(214, "This is qpsmtpd " . - $self->config('smtpgreeting') ? '' : $self->version, + ($self->config('smtpgreeting') ? '' : $self->version), "See http://smtpd.develooper.com/", 'To report bugs or send comments, mail to .'); }