From b3bc12e5879b76cc1540374072beb7997a398846 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ask=20Bj=C3=B8rn=20Hansen?= Date: Fri, 16 Jun 2006 00:15:03 +0000 Subject: [PATCH] r3599@embla: ask | 2006-06-15 17:15:06 -0700 Fix "help" command when there's no "smtpgreeting" configured (the default) (Thanks to Thomas Ogrisegg) git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.3x@642 958fd67b-6ff1-0310-b445-bb7760255be9 --- Changes | 3 +++ lib/Qpsmtpd/SMTP.pm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 .'); }