From b5bea1c29d8c1ea15cd2f7f4fd7760d638fc673b Mon Sep 17 00:00:00 2001
From: Mark Spencer <markster@digium.com>
Date: Fri, 5 Nov 2004 20:29:55 +0000
Subject: [PATCH] Fix bad line

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4164 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 apps/app_voicemail.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 058feaebfd..83ec8a184f 100755
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -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';
-- 
GitLab