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 | c91cc915b61f11526e99bf16910d3ecba923c1a8 (patch) | |
tree | c49cf8fd1f79063b9ad1ef5369ab8c0d6e2907fd | |
parent | 1a0df81387903d1c731d29e802ac52d1ad29f1ad (diff) | |
download | prosody-c91cc915b61f11526e99bf16910d3ecba923c1a8.tar.gz prosody-c91cc915b61f11526e99bf16910d3ecba923c1a8.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", { |