util.dependencies: Disable warning about Lua 5.2 (but still warn about 5.3)

This commit is contained in:
Kim Alvefur 2016-11-18 10:21:02 +01:00
parent 8624ff8562
commit 73d36e3ff9

View file

@ -136,7 +136,7 @@ local function check_dependencies()
end
local function log_warnings()
if _VERSION > "Lua 5.1" then
if _VERSION > "Lua 5.2" then
prosody.log("warn", "Support for %s is experimental, please report any issues", _VERSION);
end
local ssl = softreq"ssl";