aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-04-22 20:19:33 +0100
committerMatthew Wild <mwild1@gmail.com>2009-04-22 20:19:33 +0100
commitbbd191b78e730a8e55eb81183541bc79dd1430de (patch)
tree694c096812e1a12c936850a0db0461a1de8e92e8
parente0818951910c5a0f17cd9926583901e679352bfd (diff)
downloadprosody-bbd191b78e730a8e55eb81183541bc79dd1430de.tar.gz
prosody-bbd191b78e730a8e55eb81183541bc79dd1430de.zip
net.server: Fix incorrect parameter passing
-rw-r--r--net/server.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server.lua b/net/server.lua
index 5dcda88c..a0d28874 100644
--- a/net/server.lua
+++ b/net/server.lua
@@ -795,7 +795,7 @@ local addclient = function( address, port, listeners, pattern, sslctx, startssl
if err then -- try again
local handler = wrapclient( client, address, port, listeners )
else
- wrapconnection( server, listeners, socket, address, port, "clientport", pattern, sslctx, startssl )
+ wrapconnection( server, listeners, client, address, port, "clientport", pattern, sslctx, startssl )
end
end