summaryrefslogtreecommitdiff
path: root/pbx/pbx_lua.c
diff options
context:
space:
mode:
authorMatthew Nicholson <mnicholson@digium.com>2011-03-04 18:11:43 +0000
committerMatthew Nicholson <mnicholson@digium.com>2011-03-04 18:11:43 +0000
commit8861d64ecc6aee0500d833181edd62a6959acda5 (patch)
tree351ef803748795a7f5cbc3a216b2c9a2286ac414 /pbx/pbx_lua.c
parentb20fecdbbb4d04aa632b421f2461ac1a4b064614 (diff)
Merged revisions 309495 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ................ r309495 | mnicholson | 2011-03-04 12:10:23 -0600 (Fri, 04 Mar 2011) | 9 lines Merged revisions 309494 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ........ r309494 | mnicholson | 2011-03-04 11:55:57 -0600 (Fri, 04 Mar 2011) | 2 lines remove mysterious lua_pushvalue() that is never used ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@309496 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/pbx_lua.c')
-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);