From 742b94fbd5756551ab5cd6f2ac1799dfbc7f5152 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 15 Aug 2021 17:57:18 +0200 Subject: Moved client lua thread init to where connection is initialized --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index 568ea83..7f87ee4 100644 --- a/main.c +++ b/main.c @@ -108,7 +108,7 @@ int main(int argc, char ** argv) else { struct connection * c = (struct connection *) events[i].data.ptr; - if (-1 == plop_handle_client(plop.L, c)) + if (-1 == plop_handle_client(c)) { return 7; } -- cgit v1.1