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

git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.3x@636 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
John Peacock 2006-04-26 15:31:03 +00:00
parent 401ca8ce6e
commit 508be70d26

View File

@ -29,7 +29,7 @@ sub SASL {
# 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;
}