diff options
author | Kim Alvefur <zash@zash.se> | 2018-09-26 17:36:53 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-09-26 17:36:53 +0200 |
commit | 177fab23222475c957708a7751086b5fff17c67c (patch) | |
tree | 81c62534a9d870f4462bbb306f51dea28c0509a3 /net/connect.lua | |
parent | 6f80e5bfa629d1fe99e0f62ca12f4c6b789f7845 (diff) | |
download | prosody-177fab23222475c957708a7751086b5fff17c67c.tar.gz prosody-177fab23222475c957708a7751086b5fff17c67c.zip |
net.connect: Fix passing request table to new listener
This could be a return value from ondetach
Diffstat (limited to 'net/connect.lua')
-rw-r--r-- | net/connect.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/connect.lua b/net/connect.lua index 8a298c5d..b812ffcd 100644 --- a/net/connect.lua +++ b/net/connect.lua @@ -56,7 +56,7 @@ function pending_connection_listeners.onconnect(conn) end pending_connections_map[conn] = nil; p:log("debug", "Successfully connected"); - conn:setlistener(p.listeners); + conn:setlistener(p.listeners, p.data); return p.listeners.onconnect(conn); end |