summaryrefslogtreecommitdiffhomepage
path: root/main.c
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-08-15 17:57:18 +0200
committerAki <please@ignore.pl>2021-08-15 17:57:18 +0200
commit742b94fbd5756551ab5cd6f2ac1799dfbc7f5152 (patch)
treee6837d41659cf34b7e3dc8f7184e0d5572cc1985 /main.c
parent52526c295ccdbe48b4965b269482c0a9fba6e658 (diff)
downloadplop-742b94fbd5756551ab5cd6f2ac1799dfbc7f5152.zip
plop-742b94fbd5756551ab5cd6f2ac1799dfbc7f5152.tar.gz
plop-742b94fbd5756551ab5cd6f2ac1799dfbc7f5152.tar.bz2
Moved client lua thread init to where connection is initialized
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
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;
}