diff options
Diffstat (limited to 'net/server_select.lua')
-rw-r--r-- | net/server_select.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_select.lua b/net/server_select.lua index c5f9004c..50e439b1 100644 --- a/net/server_select.lua +++ b/net/server_select.lua @@ -1017,7 +1017,7 @@ local addclient = function( address, port, listeners, pattern, sslctx, typ ) typ = "tcp4"; end end - local create = luasocket[typ] or luasocket.tcp; + local create = luasocket[typ]; if type( create ) ~= "function" then err = "invalid socket type" end |