diff options
author | Remko Tronçon <git@el-tramo.be> | 2014-01-29 19:53:38 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2014-02-02 09:42:57 (GMT) |
commit | 9d328660344a9c7ad72a1661f570d58687f0d77f (patch) | |
tree | 26edc08b7ac85af01d094e4e5218e7d88347622e /Sluift | |
parent | af6fd21f2ec23da00d71666b530ec2525ed0d416 (diff) | |
download | swift-9d328660344a9c7ad72a1661f570d58687f0d77f.zip swift-9d328660344a9c7ad72a1661f570d58687f0d77f.tar.bz2 |
Sluift: Remove accidentally committed code.
This was generating incorrect tab completions.
Change-Id: I6072de10358d024a3584ae2d7d2fff57149d645f
Diffstat (limited to 'Sluift')
-rw-r--r-- | Sluift/sluift.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Sluift/sluift.cpp b/Sluift/sluift.cpp index 50b287b..37cb4f2 100644 --- a/Sluift/sluift.cpp +++ b/Sluift/sluift.cpp @@ -325,11 +325,6 @@ SLUIFT_API int luaopen_sluift(lua_State* L) { lua_call(L, 1, 1); Sluift::globals.coreLibIndex = luaL_ref(L, LUA_REGISTRYINDEX); - lua_rawgeti(L, LUA_REGISTRYINDEX, Sluift::globals.coreLibIndex); - lua_getfield(L, -1, "Client"); - lua_setmetatable(L, -3); - lua_pop(L, 1); - // Register functions Lua::FunctionRegistry::getInstance().addFunctionsToTable(L, "Sluift"); Lua::FunctionRegistry::getInstance().createFunctionTable(L, "JID"); |