Software /
code /
prosody
Comparison
util/dependencies.lua @ 7721:92f771147de8
util.dependencies: Disable warning about Lua 5.2 (but still warn about 5.3)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 18 Nov 2016 10:21:02 +0100 |
parent | 7679:589e27b47d56 |
child | 7723:488fddf88ffd |
child | 7766:5594d0caa5a8 |
comparison
equal
deleted
inserted
replaced
7720:7166750fb963 | 7721:92f771147de8 |
---|---|
134 end | 134 end |
135 return not fatal; | 135 return not fatal; |
136 end | 136 end |
137 | 137 |
138 local function log_warnings() | 138 local function log_warnings() |
139 if _VERSION > "Lua 5.1" then | 139 if _VERSION > "Lua 5.2" then |
140 prosody.log("warn", "Support for %s is experimental, please report any issues", _VERSION); | 140 prosody.log("warn", "Support for %s is experimental, please report any issues", _VERSION); |
141 end | 141 end |
142 local ssl = softreq"ssl"; | 142 local ssl = softreq"ssl"; |
143 if ssl then | 143 if ssl then |
144 local major, minor, veryminor, patched = ssl._VERSION:match("(%d+)%.(%d+)%.?(%d*)(M?)"); | 144 local major, minor, veryminor, patched = ssl._VERSION:match("(%d+)%.(%d+)%.?(%d*)(M?)"); |