Support for protocol 963

This commit is contained in:
Eduardo Bart
2012-08-29 12:09:05 -03:00
parent fe6f6c2d20
commit 97e1c9d5a9
7 changed files with 42 additions and 16 deletions

View File

@@ -692,13 +692,6 @@ void LuaInterface::createLuaState()
rawSeti(5);
pop(2);
// replace loadfile
getGlobal("package");
getField("loaders");
pushCFunction(&LuaInterface::luaScriptLoader);
rawSeti(5);
pop(2);
// replace dofile
pushCFunction(&LuaInterface::lua_dofile);
setGlobal("dofile");