mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
See #1529
This commit is contained in:
@@ -1237,7 +1237,7 @@ LUALIB_API int luaL_loadfilex (lua_State *L, const char *filename,
|
||||
lua_State * eL;
|
||||
int err;
|
||||
const void * oldv;
|
||||
if (level == CACHE_OFF) {
|
||||
if (level == CACHE_OFF || filename == NULL) {
|
||||
return luaL_loadfilex_(L, filename, mode);
|
||||
}
|
||||
proto = load_proto(filename);
|
||||
|
||||
Reference in New Issue
Block a user