diff --git a/src/hlua.c b/src/hlua.c index ec7518176..6530a39cf 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -1086,10 +1086,6 @@ static int hlua_ctx_renew(struct hlua *lua, int keep_msg) lua_State *T; int new_ref; - /* Renew the main LUA stack doesn't have sense. */ - if (lua == &gL) - return 0; - /* New Lua coroutine. */ T = lua_newthread(gL.T); if (!T)