Fix bad line
authorMark Spencer <markster@digium.com>
Fri, 5 Nov 2004 20:29:55 +0000 (20:29 +0000)
committerMark Spencer <markster@digium.com>
Fri, 5 Nov 2004 20:29:55 +0000 (20:29 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4164 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 058feae..83ec8a1 100755 (executable)
@@ -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';