From eb2c2d45970bf7c00cfb225618774dceb15668c3 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 28 Nov 2021 23:14:31 +0100 Subject: util.dependencies: Discourage Lua 5.1 Search for 'Lua 5.1' for reasons. --- util/dependencies.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util') diff --git a/util/dependencies.lua b/util/dependencies.lua index cd4f5ef7..7e5b4e58 100644 --- a/util/dependencies.lua +++ b/util/dependencies.lua @@ -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 -- cgit v1.2.3