aboutsummaryrefslogtreecommitdiff
path: root/src/net.c
diff options
context:
space:
mode:
authorame <[email protected]>2025-11-21 21:21:57 -0600
committerame <[email protected]>2025-11-21 21:21:57 -0600
commit07eeacf5b013061d6e76505ad08c5c9581fecfba (patch)
treebffede3aa425652f28237fb28c41dbbeff057c0d /src/net.c
parentc8fdd204a963ea228cf1a718f7fc9587399e6748 (diff)
thread fixes, some variable restructuring
Diffstat (limited to 'src/net.c')
-rw-r--r--src/net.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net.c b/src/net.c
index bd7fc73..c9e424e 100644
--- a/src/net.c
+++ b/src/net.c
@@ -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);