[svn:qpsmtpd] r642 - in branches/0.3x: . lib/Qpsmtpd

[email protected] Thu, 15 Jun 2006 17:15:04 -0700 (PDT)
Newsgroups perl.cvs.qpsmtpd
Message-ID <[email protected]>
Author: ask
Date: Thu Jun 15 17:15:03 2006
New Revision: 642

Modified:
   branches/0.3x/   (props changed)
   branches/0.3x/Changes
   branches/0.3x/lib/Qpsmtpd/SMTP.pm

Log:
 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)
 


Modified: branches/0.3x/Changes
==============================================================================
--- branches/0.3x/Changes	(original)
+++ branches/0.3x/Changes	Thu Jun 15 17:15:03 2006
@@ -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

Modified: branches/0.3x/lib/Qpsmtpd/SMTP.pm
==============================================================================
--- branches/0.3x/lib/Qpsmtpd/SMTP.pm	(original)
+++ branches/0.3x/lib/Qpsmtpd/SMTP.pm	Thu Jun 15 17:15:03 2006
@@ -417,7 +417,7 @@
   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 <[email protected]>.');
 }