aboutsummaryrefslogtreecommitdiffstats
path: root/net
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
commit71cbd19064d7bdff6aabe89de6b0983e8c58810e (patch)
tree96a0a22abae8004ed43ef8fd3c63387111429ee7 /net
parent9d03b17bc8b26605b66f56ce088b4a4dbf0d7852 (diff)
downloadprosody-71cbd19064d7bdff6aabe89de6b0983e8c58810e.tar.gz
prosody-71cbd19064d7bdff6aabe89de6b0983e8c58810e.zip
net.connect: Fix to store correct parameter
Diffstat (limited to 'net')
-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");