summaryrefslogtreecommitdiffhomepage
path: root/connection.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 /connection.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 'connection.c')
-rw-r--r--connection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/connection.c b/connection.c
index d321ae0..b0d9fcc 100644
--- a/connection.c
+++ b/connection.c
@@ -24,6 +24,7 @@ struct connection * connection_new(const int client)
c->fd = client;
c->ref = LUA_NOREF;
c->L = NULL;
+ c->push = 0;
return c;
}