aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-10-05 22:12:29 +0200
committerKim Alvefur <zash@zash.se>2020-10-05 22:12:29 +0200
commit93b40432fece3818e236aced138ddf1e807d7d7d (patch)
treec49cf8fd1f79063b9ad1ef5369ab8c0d6e2907fd
parent6411b17b599b9333ca6a65a46545abc798a1d3ab (diff)
downloadprosody-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.lua2
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", {