aboutsummaryrefslogtreecommitdiffstats
path: root/net/server.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-04-22 20:19:04 +0100
committerMatthew Wild <mwild1@gmail.com>2009-04-22 20:19:04 +0100
commite0818951910c5a0f17cd9926583901e679352bfd (patch)
tree9e193598a4772eb469216c878ed10372b72689af /net/server.lua
parent77195f9fb9f2092fc2ac3fc379185a9210de2a57 (diff)
downloadprosody-e0818951910c5a0f17cd9926583901e679352bfd.tar.gz
prosody-e0818951910c5a0f17cd9926583901e679352bfd.zip
net.server: Fix global access
Diffstat (limited to 'net/server.lua')
-rw-r--r--net/server.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server.lua b/net/server.lua
index 77bc2f5c..5dcda88c 100644
--- a/net/server.lua
+++ b/net/server.lua
@@ -786,7 +786,7 @@ local wrapclient = function( socket, ip, serverport, listeners, pattern, sslctx,
end
local addclient = function( address, port, listeners, pattern, sslctx, startssl )
- local client, err = socket.tcp( )
+ local client, err = luasocket.tcp( )
if err then
return nil, err
end