aboutsummaryrefslogtreecommitdiffstats
path: root/util/dependencies.lua
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
commit75a5751bf387a033461fc3c5db338ab23893ae93 (patch)
treec49cf8fd1f79063b9ad1ef5369ab8c0d6e2907fd /util/dependencies.lua
parent64e9ebf73b3ae4de8f912133b8d4303e7c41f92a (diff)
downloadprosody-75a5751bf387a033461fc3c5db338ab23893ae93.tar.gz
prosody-75a5751bf387a033461fc3c5db338ab23893ae93.zip
util.dependencies: Check for bitop library same way as net.websocket.frames (fixes #1594)
Diffstat (limited to 'util/dependencies.lua')
-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", {