Software /
code /
prosody
Diff
net/server_event.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_event.lua Fri Oct 12 16:21:16 2018 +0200 +++ b/net/server_event.lua Fri Oct 12 16:24:49 2018 +0200 @@ -737,7 +737,7 @@ typ = "tcp4"; end end - local create = socket[typ] or socket.tcp; + local create = socket[typ]; if type( create ) ~= "function" then return nil, "invalid socket type" end