diff options
-rw-r--r-- | apps/app_voicemail.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index c90086453..c6b07a3a5 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -6393,8 +6393,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); |