Fix bad line

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4164 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-11-05 20:29:55 +00:00
parent e3514814ba
commit b5bea1c29d

View File

@@ -3294,8 +3294,7 @@ static int vm_authenticate(struct ast_channel *chan, char *mailbox, int mailbox_
}
if (useadsi)
adsi_password(chan);
if (!skipuser)
vmu = find_user(&vmus, context, mailbox);
vmu = find_user(&vmus, context, mailbox);
if (vmu && (vmu->password[0] == '\0' || (vmu->password[0] == '-' && vmu->password[1] == '\0'))) {
/* saved password is blank, so don't bother asking */
password[0] = '\0';