aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-11-05 20:29:55 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-11-05 20:29:55 +0000
commit774ec7ec12d539fd4d2c9dc437bacd3e00b17825 (patch)
treeacdd52b43829cb523b6868900eb34927231c5a78 /apps
parent35fc0b954858c59ba761200d215519a25f3d178c (diff)
Fix bad line
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4164 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-xapps/app_voicemail.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 058feaebf..83ec8a184 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';