aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_select.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-09-06 10:52:37 +0200
committerKim Alvefur <zash@zash.se>2013-09-06 10:52:37 +0200
commit5129829bbf9c146885eaca2d290e2033bb6b8833 (patch)
tree71a374a10a5e9a3c63dfe63fb82cdcf933eda1e7 /net/server_select.lua
parent247c7be5c780c54a9f08a20dd1a12e176896bb19 (diff)
downloadprosody-5129829bbf9c146885eaca2d290e2033bb6b8833.tar.gz
prosody-5129829bbf9c146885eaca2d290e2033bb6b8833.zip
net.server_select: Pass on all arguments to addclient on to wrapclient
Diffstat (limited to 'net/server_select.lua')
-rw-r--r--net/server_select.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_select.lua b/net/server_select.lua
index 7b550bf9..d5d27206 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -937,7 +937,7 @@ local addclient = function( address, port, listeners, pattern, sslctx )
client:settimeout( 0 )
_, err = client:connect( address, port )
if err then -- try again
- local handler = wrapclient( client, address, port, listeners )
+ local handler = wrapclient( client, address, port, listeners, pattern, sslctx )
else
wrapconnection( nil, listeners, client, address, port, "clientport", pattern, sslctx )
end