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;
}