diff util/dependencies.lua @ 10411:db2a06b9ff98

Merge 0.11->trunk
author Kim Alvefur <zash@zash.se>
date Sat, 16 Nov 2019 16:52:31 +0100
parents a7903de619b0
children 29c1a3bf1d29
line wrap: on
line diff
--- a/util/dependencies.lua	Sat Nov 16 16:45:33 2019 +0100
+++ b/util/dependencies.lua	Sat Nov 16 16:52:31 2019 +0100
@@ -90,7 +90,7 @@
 			}, "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", {
@@ -140,7 +140,7 @@
 end
 
 local function log_warnings()
-	if _VERSION > "Lua 5.2" then
+	if _VERSION > "Lua 5.3" then
 		prosody.log("warn", "Support for %s is experimental, please report any issues", _VERSION);
 	end
 	local ssl = softreq"ssl";