diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-09-19 17:52:52 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-09-19 17:52:52 +0000 |
commit | 8adc84a38f55e083d03824e823a4185b35efd3de (patch) | |
tree | d0c086d46d38ccadcf4770eac52a7df92acb7085 /apps | |
parent | f2ce8f47db1545ec52e1228b02f6e9240208ebe4 (diff) |
Fix inverted if logic
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1532 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/app_voicemail2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail2.c b/apps/app_voicemail2.c index 186f26e7e..a2f622557 100755 --- a/apps/app_voicemail2.c +++ b/apps/app_voicemail2.c @@ -1954,7 +1954,7 @@ static int play_message_datetime(struct ast_channel *chan, struct ast_vm_user *v /* Can't think of how other diffs might be helpful, but I'm sure somebody will think of something. */ #endif - if (! the_zone) + if (the_zone) res = ast_say_date_with_format(chan, t, AST_DIGIT_ANY, chan->language, the_zone->msg_format, the_zone->timezone); else res = ast_say_date_with_format(chan, t, AST_DIGIT_ANY, chan->language, "'vm-received' q 'digits/at' IMp", NULL); |