Diff

util/dependencies.lua @ 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
parent 11958:31f83a645ce6
child 11973:d4730ae60226
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