aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_event.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-05-24 02:55:37 +0100
committerMatthew Wild <mwild1@gmail.com>2012-05-24 02:55:37 +0100
commitb9971d5e6c14823531a5129303bd80541f00791a (patch)
tree809d076d01f8ecdbda43d45e2f001e48086b64e8 /net/server_event.lua
parentd227ac95d57ad802292bd6b5172b1db00011a1d6 (diff)
downloadprosody-b9971d5e6c14823531a5129303bd80541f00791a.tar.gz
prosody-b9971d5e6c14823531a5129303bd80541f00791a.zip
net.server_event: Assume wrapclient() is taking a new connection, and call onconnect when appropriate (to match server_select)
Diffstat (limited to 'net/server_event.lua')
-rw-r--r--net/server_event.lua2
1 files changed, 1 insertions, 1 deletions
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