aboutsummaryrefslogtreecommitdiffstats
path: root/net/connect.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-02-26 15:26:08 +0000
committerMatthew Wild <mwild1@gmail.com>2018-02-26 15:26:08 +0000
commit5eb41ade9bfe564e0184bb5365f56c5c2c6d540d (patch)
tree96a0a22abae8004ed43ef8fd3c63387111429ee7 /net/connect.lua
parent3b771f4dcd371102de374a17726497122fac3720 (diff)
downloadprosody-5eb41ade9bfe564e0184bb5365f56c5c2c6d540d.tar.gz
prosody-5eb41ade9bfe564e0184bb5365f56c5c2c6d540d.zip
net.connect: Fix to store correct parameter
Diffstat (limited to 'net/connect.lua')
-rw-r--r--net/connect.lua2
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");