Diff

net/server.lua @ 1035:8cc7e4452b2b

net.server: Fix global access
author Matthew Wild <mwild1@gmail.com>
date Wed, 22 Apr 2009 20:19:04 +0100
parent 999:c088139d8f05
child 1036:b2e19c66ec7f
line wrap: on
line diff
--- 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