Software /
code /
prosody
Diff
net/server_select.lua @ 9495:89e05b118f6e
net.server: Remove socket constructor fallback
Should no longer be needed
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 12 Oct 2018 16:24:49 +0200 |
parent | 9473:5fdda751333a |
child | 9499:36e379f058c8 |
line wrap: on
line diff
--- a/net/server_select.lua Fri Oct 12 16:21:16 2018 +0200 +++ b/net/server_select.lua Fri Oct 12 16:24:49 2018 +0200 @@ -1017,7 +1017,7 @@ 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