mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
util.dependencies: Reject Lua 5.1, Lua 5.2 or later is now required (see #1600)
This commit is contained in:
parent
14fceee089
commit
ada68efcc9
1 changed files with 2 additions and 2 deletions
|
@ -32,10 +32,10 @@ local function missingdep(name, sources, msg, err) -- luacheck: ignore err
|
|||
end
|
||||
|
||||
local function check_dependencies()
|
||||
if _VERSION < "Lua 5.1" then
|
||||
if _VERSION < "Lua 5.2" then
|
||||
print "***********************************"
|
||||
print("Unsupported Lua version: ".._VERSION);
|
||||
print("At least Lua 5.1 is required.");
|
||||
print("At least Lua 5.2 is required.");
|
||||
print "***********************************"
|
||||
return false;
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue