Software /
code /
prosody
Changeset
11959:814b750aa2d0
util.dependencies: Discourage Lua 5.1
Search for 'Lua 5.1' for reasons.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 28 Nov 2021 23:14:31 +0100 |
parents | 11958:31f83a645ce6 |
children | 11960:12a3c05aa12d |
files | util/dependencies.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/util/dependencies.lua Sun Nov 28 23:12:25 2021 +0100 +++ b/util/dependencies.lua Sun Nov 28 23:14:31 2021 +0100 @@ -155,6 +155,8 @@ 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