From 71cbd19064d7bdff6aabe89de6b0983e8c58810e Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Mon, 26 Feb 2018 15:26:08 +0000 Subject: net.connect: Fix to store correct parameter --- net/connect.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net') 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"); -- cgit v1.2.3