util.dependencies: Discourage Lua 5.1

Search for 'Lua 5.1' for reasons.
This commit is contained in:
Kim Alvefur 2021-11-28 23:14:31 +01:00
parent 74e1de54fd
commit eb2c2d4597

View file

@ -155,6 +155,8 @@ end
local function log_warnings()
if _VERSION > "Lua 5.4" then
prosody.log("warn", "Support for %s is experimental, please report any issues", _VERSION);
elseif _VERSION < "Lua 5.2" then
prosody.log("warn", "%s has sevral issues and support is being phased out, consider upgrading", _VERSION);
end
local ssl = softreq"ssl";
if ssl then