[svn:qpsmtpd] r636 - branches/0.3x/lib/Qpsmtpd

[email protected] Wed, 26 Apr 2006 08:31:04 -0700 (PDT)
Newsgroups perl.cvs.qpsmtpd
Message-ID <[email protected]>
Author: jpeacock
Date: Wed Apr 26 08:31:03 2006
New Revision: 636

Modified:
   branches/0.3x/lib/Qpsmtpd/Auth.pm

Log:
ne is for strings, != is for numbers (Leonardo Helman)

Modified: branches/0.3x/lib/Qpsmtpd/Auth.pm
==============================================================================
--- branches/0.3x/lib/Qpsmtpd/Auth.pm	(original)
+++ branches/0.3x/lib/Qpsmtpd/Auth.pm	Wed Apr 26 08:31:03 2006
@@ -29,7 +29,7 @@
           
         # Authorization ID must not be different from
         # Authentication ID
-        if ( $loginas ne '' && $loginas != $user ) {
+        if ( $loginas ne '' && $loginas ne $user ) {
           $session->respond(535, "Authentication invalid");
           return DECLINED;
         }