summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pbx/pbx_lua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_lua.c b/pbx/pbx_lua.c
index 6b2b8afb3..3cb6cf07d 100644
--- a/pbx/pbx_lua.c
+++ b/pbx/pbx_lua.c
@@ -788,7 +788,7 @@ static int lua_sort_extensions(lua_State *L)
int context_name = context - 1;
int context_order;
- lua_pushvalue(L, context_name);
+ /* create the context_order table */
lua_newtable(L);
context_order = lua_gettop(L);