diff options
| author | ame <[email protected]> | 2025-11-21 21:21:57 -0600 |
|---|---|---|
| committer | ame <[email protected]> | 2025-11-21 21:21:57 -0600 |
| commit | 07eeacf5b013061d6e76505ad08c5c9581fecfba (patch) | |
| tree | bffede3aa425652f28237fb28c41dbbeff057c0d /src/net.c | |
| parent | c8fdd204a963ea228cf1a718f7fc9587399e6748 (diff) | |
thread fixes, some variable restructuring
Diffstat (limited to 'src/net.c')
| -rw-r--r-- | src/net.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1021,7 +1021,9 @@ int start_serv(lua_State* L, int port, parray_t* paths, struct net_server_state* int old_top = lua_gettop(L);
lua_getglobal(L, "_G");
+ luaL_openlibs(args->L);
luaI_copyvars(L, args->L);
+ luaL_openlibs(args->L);
lua_settop(L, old_top);
lua_set_global_table(args->L);
|
