diff options
| author | ame <[email protected]> | 2024-02-12 15:32:07 -0600 |
|---|---|---|
| committer | ame <[email protected]> | 2024-02-12 15:32:07 -0600 |
| commit | 04b1b0fc52287228a2c9bc6a3cbf9a85bdd1f2fc (patch) | |
| tree | 56f4e10d97f62cf1d937038b2ad78f38f7d53a48 /src/net.c | |
| parent | 5b4723f51f4a0f514959038e58c36c70a82e363f (diff) | |
no clue what i changed
Diffstat (limited to 'src/net.c')
| -rw-r--r-- | src/net.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -368,7 +368,9 @@ void* handle_client(void *_arg){ pthread_mutex_lock(&mutex);
int old_top = lua_gettop(args->L);
lua_getglobal(args->L, "_G");
+
i_dcopy(args->L, L, NULL);
+
lua_settop(args->L, old_top);
//l_pprint(L);
lua_setglobal(L, "_G");
|
