diff options
author | Kim Alvefur <zash@zash.se> | 2020-10-05 22:12:29 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-10-05 22:12:29 +0200 |
commit | 93b40432fece3818e236aced138ddf1e807d7d7d (patch) | |
tree | c49cf8fd1f79063b9ad1ef5369ab8c0d6e2907fd | |
parent | 6411b17b599b9333ca6a65a46545abc798a1d3ab (diff) | |
download | prosody-93b40432fece3818e236aced138ddf1e807d7d7d.tar.gz prosody-93b40432fece3818e236aced138ddf1e807d7d7d.zip |
util.dependencies: Check for bitop library same way as net.websocket.frames (fixes #1594)
-rw-r--r-- | util/dependencies.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/dependencies.lua b/util/dependencies.lua index 7c7b938e..24975567 100644 --- a/util/dependencies.lua +++ b/util/dependencies.lua @@ -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", { |