From cc3029e871cb8c7363b235ada549d278c7ea6f1e Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Wed, 26 Jul 2006 19:59:25 +0000 Subject: [PATCH] Typo found on the -dev list git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38258 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_queue.c b/apps/app_queue.c index 84583250a5..e53af16b6e 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -883,7 +883,7 @@ static void queue_set_param(struct call_queue *q, const char *param, const char } else if (!strcasecmp(param, "eventmemberstatus")) { q->maskmemberstatus = !ast_true(val); } else if (!strcasecmp(param, "eventwhencalled")) { - if (strcasecmp(val, "vars")) { + if (!strcasecmp(val, "vars")) { q->eventwhencalled = QUEUE_EVENT_VARIABLES; } else { q->eventwhencalled = ast_true(val);