# HG changeset patch # User Matthew Wild # Date 1240427944 -3600 # Node ID 8cc7e4452b2b4011f982679e64168c318ef34375 # Parent 2b0aba0bb013a0ed5d8e0458bca734ab4e8c9062 net.server: Fix global access diff -r 2b0aba0bb013 -r 8cc7e4452b2b net/server.lua --- a/net/server.lua Wed Apr 22 20:14:11 2009 +0100 +++ b/net/server.lua Wed Apr 22 20:19:04 2009 +0100 @@ -786,7 +786,7 @@ 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