diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/compat52.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat52.h b/src/compat52.h index 22541f7..163aecb 100644 --- a/src/compat52.h +++ b/src/compat52.h @@ -94,7 +94,7 @@ static void luaL_requiref(lua_State *L, const char *modname, lua_CFunction openf lua_setfield(L, -2, modname); lua_pop(L, 2); - + if (glb) { lua_pushvalue(L, -1); lua_setglobal(L, modname); |