forked from Mirrors/freeswitch
tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9065 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
61f3d6798b
commit
b5751a46a9
@ -53,8 +53,10 @@ void Session::setLUA(lua_State * state)
|
||||
sanity_check_noreturn;
|
||||
|
||||
L = state;
|
||||
lua_setglobal(L, uuid);
|
||||
lua_getfield(L, LUA_GLOBALSINDEX, uuid ? uuid : "");
|
||||
if (uuid) {
|
||||
lua_setglobal(L, uuid);
|
||||
lua_getfield(L, LUA_GLOBALSINDEX, uuid);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user