diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-04-22 20:19:33 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-04-22 20:19:33 +0100 |
commit | bbd191b78e730a8e55eb81183541bc79dd1430de (patch) | |
tree | 694c096812e1a12c936850a0db0461a1de8e92e8 /net/server.lua | |
parent | e0818951910c5a0f17cd9926583901e679352bfd (diff) | |
download | prosody-bbd191b78e730a8e55eb81183541bc79dd1430de.tar.gz prosody-bbd191b78e730a8e55eb81183541bc79dd1430de.zip |
net.server: Fix incorrect parameter passing
Diffstat (limited to 'net/server.lua')
-rw-r--r-- | net/server.lua | 2 |
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
|