util.dependencies: Check for bitop library same way as net.websocket.frames (fixes #1594)

This commit is contained in:
Kim Alvefur 2020-10-05 22:12:29 +02:00
parent 1a0df81387
commit c91cc915b6

View file

@ -90,7 +90,7 @@ local function check_dependencies()
}, "SSL/TLS support will not be available");
end
local bit = _G.bit32 or softreq"bit";
local bit = softreq"bit" or softreq"bit32";
if not bit then
missingdep("lua-bitops", {