diff options
author | Aki <please@ignore.pl> | 2021-08-15 17:57:18 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-08-15 17:57:18 +0200 |
commit | 742b94fbd5756551ab5cd6f2ac1799dfbc7f5152 (patch) | |
tree | e6837d41659cf34b7e3dc8f7184e0d5572cc1985 /connection.c | |
parent | 52526c295ccdbe48b4965b269482c0a9fba6e658 (diff) | |
download | plop-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.c | 1 |
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; } |