diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-06-02 21:33:44 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-06-02 21:33:44 +0100 |
commit | 3883d8dd070143268b1cb6e9cf09797f3d9868cd (patch) | |
tree | 7503b78b50199e98b379579fd895771355f1e295 /net/server_event.lua | |
parent | fb63a1dd606d5e837e1503377becd5244909fdd6 (diff) | |
download | prosody-3883d8dd070143268b1cb6e9cf09797f3d9868cd.tar.gz prosody-3883d8dd070143268b1cb6e9cf09797f3d9868cd.zip |
net.server_event: Also return the socket from wrapclient, to maintain compatibility with server_select (thanks uhoreg)
Diffstat (limited to 'net/server_event.lua')
-rw-r--r-- | net/server_event.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_event.lua b/net/server_event.lua index 43e70a0f..b286e8c2 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -750,7 +750,7 @@ do function wrapclient( client, ip, port, listeners, pattern, sslctx, startssl ) local interface = handleclient( client, ip, port, nil, pattern, listeners, sslctx ) interface:_start_session() - return interface + return interface, client --function handleclient( client, ip, port, server, pattern, listener, _, sslctx ) -- creates an client interface end |