diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-02-26 15:26:08 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-02-26 15:26:08 +0000 |
commit | 5eb41ade9bfe564e0184bb5365f56c5c2c6d540d (patch) | |
tree | 96a0a22abae8004ed43ef8fd3c63387111429ee7 /net/connect.lua | |
parent | 3b771f4dcd371102de374a17726497122fac3720 (diff) | |
download | prosody-5eb41ade9bfe564e0184bb5365f56c5c2c6d540d.tar.gz prosody-5eb41ade9bfe564e0184bb5365f56c5c2c6d540d.zip |
net.connect: Fix to store correct parameter
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 a0f51499..02ab4cc0 100644 --- a/net/connect.lua +++ b/net/connect.lua @@ -80,7 +80,7 @@ local function connect(target_resolver, listeners, options, data) target_resolver = target_resolver; listeners = assert(listeners); options = options or {}; - cb = cb; + data = data; }, pending_connection_mt); p:log("debug", "Starting connection process"); |