aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-04-22 20:33:24 +0100
committerMatthew Wild <mwild1@gmail.com>2009-04-22 20:33:24 +0100
commite9921f5497d58805cd47b7a01cecb856554542fe (patch)
tree4718f87cb126358f6a4a273ac6d307d664fdf019 /net
parentca374d38e725d53f33265bfb850a81b441d5e3b2 (diff)
downloadprosody-e9921f5497d58805cd47b7a01cecb856554542fe.tar.gz
prosody-e9921f5497d58805cd47b7a01cecb856554542fe.zip
net.server: Fix global access/incorrect parameter
Diffstat (limited to 'net')
-rw-r--r--net/server.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server.lua b/net/server.lua
index a0d28874..fd6459e8 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, client, address, port, "clientport", pattern, sslctx, startssl )
+ wrapconnection( nil, listeners, client, address, port, "clientport", pattern, sslctx, startssl )
end
end