summaryrefslogtreecommitdiff
path: root/src/lib/elua/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elua/cache.c')
-rw-r--r--src/lib/elua/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elua/cache.c b/src/lib/elua/cache.c
index ae5cf93716..43ef3d7d19 100644
--- a/src/lib/elua/cache.c
+++ b/src/lib/elua/cache.c
@@ -190,7 +190,7 @@ elua_io_loadfile(const Elua_State *es, const char *fname)
190static int 190static int
191loadfile(lua_State *L) 191loadfile(lua_State *L)
192{ 192{
193 Elua_State *es = elua_state_from_lua_get(L); 193 Elua_State *es = elua_state_from_lua_state_get(L);
194 const char *fname = luaL_optstring(L, 1, NULL); 194 const char *fname = luaL_optstring(L, 1, NULL);
195 int status = elua_io_loadfile(es, fname), 195 int status = elua_io_loadfile(es, fname),
196 hasenv = (lua_gettop(L) >= 3); 196 hasenv = (lua_gettop(L) >= 3);