summaryrefslogtreecommitdiff
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2010-03-12 19:43:23 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2010-03-12 19:43:23 +0000
commit148e5afcd10b376ff9eb78d8c17488960738e0d7 (patch)
tree37a53a8cb6f7d76f78e0b74fec7ee00ffbda16a0 /apps/app_voicemail.c
parent72fa46115d9bde6ea9b6245c62d541b89f5ed5ec (diff)
Don't override a user option with the global option.
(closes issue #16849) Reported by: ip-rob Patches: 20100311__issue16849.diff.txt uploaded by tilghman (license 14) Tested by: ip-rob git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@251989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r--apps/app_voicemail.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index b21c0e1c6..c69e7854f 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -6686,8 +6686,6 @@ static int notify_new_message(struct ast_channel *chan, struct ast_vm_user *vmu,
if (!ast_strlen_zero(vmu->email)) {
int attach_user_voicemail = ast_test_flag(vmu, VM_ATTACH);
- if (!attach_user_voicemail)
- attach_user_voicemail = ast_test_flag((&globalflags), VM_ATTACH);
if (attach_user_voicemail)
RETRIEVE(todir, msgnum, vmu->mailbox, vmu->context);