diff options
-rw-r--r-- | net/server.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server.lua b/net/server.lua index 5dcda88c..a0d28874 100644 --- a/net/server.lua +++ b/net/server.lua @@ -795,7 +795,7 @@ local addclient = function( address, port, listeners, pattern, sslctx, startssl if err then -- try again
local handler = wrapclient( client, address, port, listeners )
else
- wrapconnection( server, listeners, socket, address, port, "clientport", pattern, sslctx, startssl )
+ wrapconnection( server, listeners, client, address, port, "clientport", pattern, sslctx, startssl )
end
end
|