From 6e38fa6d6b095c5fd384801240f4e941f70fedb9 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 24 May 2012 02:55:37 +0100 Subject: net.server_event: Assume wrapclient() is taking a new connection, and call onconnect when appropriate (to match server_select) --- net/server_event.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net') diff --git a/net/server_event.lua b/net/server_event.lua index 8d6f5597..3b05193e 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -744,7 +744,7 @@ local addclient, wrapclient do function wrapclient( client, ip, port, listeners, pattern, sslctx, startssl ) local interface = handleclient( client, ip, port, nil, pattern, listeners, sslctx ) - interface:_start_session() + interface:_start_connection(sslctx) return interface, client --function handleclient( client, ip, port, server, pattern, listener, _, sslctx ) -- creates an client interface end -- cgit v1.2.3