aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_features.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_features.c')
-rw-r--r--res/res_features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_features.c b/res/res_features.c
index c29ff25c1..d3235e592 100644
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -2260,7 +2260,7 @@ static int park_exec(struct ast_channel *chan, void *data)
u = ast_module_user_add(chan);
- if (park)
+ if (data)
park = atoi((char *)data);
AST_LIST_LOCK(&parkinglot);