summaryrefslogtreecommitdiff
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2006-07-26 19:59:25 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2006-07-26 19:59:25 +0000
commitcc3029e871cb8c7363b235ada549d278c7ea6f1e (patch)
tree62a86ccf3e91fa665205f285fda02af835254104 /apps/app_queue.c
parenta60a9b6637a4b0e5f70f53491d8d994c56bb5e7d (diff)
Typo found on the -dev list
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r--apps/app_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 84583250a..e53af16b6 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);