aboutsummaryrefslogtreecommitdiffstats
path: root/util/dependencies.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-11-09 13:58:25 +0100
committerKim Alvefur <zash@zash.se>2019-11-09 13:58:25 +0100
commit2848e38b7e8a03b26b0aaab6e363403a19298abd (patch)
treed9cce866e7781997b7ff5df3f0211c9b99a270c2 /util/dependencies.lua
parentf10cf81e372393d6b74a837e818f238a7249d66c (diff)
downloadprosody-2848e38b7e8a03b26b0aaab6e363403a19298abd.tar.gz
prosody-2848e38b7e8a03b26b0aaab6e363403a19298abd.zip
util.dependencies: Avoid missing bitop false positive on Lua 5.4
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 84e2dd5c..22b66d7c 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"util.bitcompat";
if not bit then
missingdep("lua-bitops", {