Software /
code /
prosody
Comparison
util/dependencies.lua @ 10049:c523642ea293
util.dependencies: Increase Lua version to warn about to 5.4
No significant problems have been encountered with Lua 5.3 itself, so
apart from some odd problems in LuaExpat it seems about time to declare
it ready.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 19 Jun 2019 19:16:09 +0200 |
parent | 9560:cb92e1c8b6db |
child | 10406:a7903de619b0 |
comparison
equal
deleted
inserted
replaced
10048:e5532fbdd163 | 10049:c523642ea293 |
---|---|
138 | 138 |
139 return not fatal; | 139 return not fatal; |
140 end | 140 end |
141 | 141 |
142 local function log_warnings() | 142 local function log_warnings() |
143 if _VERSION > "Lua 5.2" then | 143 if _VERSION > "Lua 5.3" then |
144 prosody.log("warn", "Support for %s is experimental, please report any issues", _VERSION); | 144 prosody.log("warn", "Support for %s is experimental, please report any issues", _VERSION); |
145 end | 145 end |
146 local ssl = softreq"ssl"; | 146 local ssl = softreq"ssl"; |
147 if ssl then | 147 if ssl then |
148 local major, minor, veryminor, patched = ssl._VERSION:match("(%d+)%.(%d+)%.?(%d*)(M?)"); | 148 local major, minor, veryminor, patched = ssl._VERSION:match("(%d+)%.(%d+)%.?(%d*)(M?)"); |