Software /
code /
prosody
Comparison
util/dependencies.lua @ 11973:d4730ae60226
util.dependencies: Fix typo (thanks jonas’)
vim> Change "sevral" to:
1 "several"
2 "sacral"
3 "spiral"
4 "feral"
5 "serial"
jonas’> I choose 4.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 30 Nov 2021 22:04:00 +0100 |
parent | 11959:814b750aa2d0 |
child | 12147:02481502c3dc |
comparison
equal
deleted
inserted
replaced
11972:520ce76440ad | 11973:d4730ae60226 |
---|---|
154 | 154 |
155 local function log_warnings() | 155 local function log_warnings() |
156 if _VERSION > "Lua 5.4" then | 156 if _VERSION > "Lua 5.4" then |
157 prosody.log("warn", "Support for %s is experimental, please report any issues", _VERSION); | 157 prosody.log("warn", "Support for %s is experimental, please report any issues", _VERSION); |
158 elseif _VERSION < "Lua 5.2" then | 158 elseif _VERSION < "Lua 5.2" then |
159 prosody.log("warn", "%s has sevral issues and support is being phased out, consider upgrading", _VERSION); | 159 prosody.log("warn", "%s has several issues and support is being phased out, consider upgrading", _VERSION); |
160 end | 160 end |
161 local ssl = softreq"ssl"; | 161 local ssl = softreq"ssl"; |
162 if ssl then | 162 if ssl then |
163 local major, minor, veryminor, patched = ssl._VERSION:match("(%d+)%.(%d+)%.?(%d*)(M?)"); | 163 local major, minor, veryminor, patched = ssl._VERSION:match("(%d+)%.(%d+)%.?(%d*)(M?)"); |
164 if not major or ((tonumber(major) == 0 and (tonumber(minor) or 0) <= 3 and (tonumber(veryminor) or 0) <= 2) and patched ~= "M") then | 164 if not major or ((tonumber(major) == 0 and (tonumber(minor) or 0) <= 3 and (tonumber(veryminor) or 0) <= 2) and patched ~= "M") then |