mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
net.server: Remove socket constructor fallback
Should no longer be needed
This commit is contained in:
parent
284152ba25
commit
2104ac9fb0
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue