aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r--apps/app_queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index d0fa91241..761d2fc07 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -3444,7 +3444,7 @@ static int pqm_exec(struct ast_channel *chan, void *data)
}
ast_module_user_remove(lu);
pbx_builtin_setvar_helper(chan, "PQMSTATUS", "NOTFOUND");
- return -1;
+ return 0;
}
ast_module_user_remove(lu);
@@ -3497,7 +3497,7 @@ static int upqm_exec(struct ast_channel *chan, void *data)
}
ast_module_user_remove(lu);
pbx_builtin_setvar_helper(chan, "UPQMSTATUS", "NOTFOUND");
- return -1;
+ return 0;
}
ast_module_user_remove(lu);