Software /
code /
prosody
Diff
util/dependencies.lua @ 11140:e17b98feb0b7 0.11
util.dependencies: Check for bitop library same way as net.websocket.frames (fixes #1594)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 05 Oct 2020 22:12:29 +0200 |
parent | 9560:cb92e1c8b6db |
child | 11141:a5acd6354845 |
line wrap: on
line diff
--- a/util/dependencies.lua Sun Oct 04 18:00:32 2020 +0200 +++ b/util/dependencies.lua Mon Oct 05 22:12:29 2020 +0200 @@ -90,7 +90,7 @@ }, "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", {