aboutsummaryrefslogtreecommitdiffstats
path: root/util/dependencies.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-11-28 23:14:31 +0100
committerKim Alvefur <zash@zash.se>2021-11-28 23:14:31 +0100
commiteb2c2d45970bf7c00cfb225618774dceb15668c3 (patch)
tree3b130b38ffe58520233a4f7b83c5f1c1c01431e1 /util/dependencies.lua
parent74e1de54fded0959daf30726ec078c62d23abf60 (diff)
downloadprosody-eb2c2d45970bf7c00cfb225618774dceb15668c3.tar.gz
prosody-eb2c2d45970bf7c00cfb225618774dceb15668c3.zip
util.dependencies: Discourage Lua 5.1
Search for 'Lua 5.1' for reasons.
Diffstat (limited to 'util/dependencies.lua')
-rw-r--r--util/dependencies.lua2
1 files changed, 2 insertions, 0 deletions
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