diff options
author | Kim Alvefur <zash@zash.se> | 2022-07-02 17:30:34 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-07-02 17:30:34 +0200 |
commit | ada68efcc9547519a636bc46fdd7a60216a578d5 (patch) | |
tree | 33a3a456613ef41eff6f88452a02c646d71c897b /util | |
parent | 14fceee089e48f3326a49537af7d4ef0310d6215 (diff) | |
download | prosody-ada68efcc9547519a636bc46fdd7a60216a578d5.tar.gz prosody-ada68efcc9547519a636bc46fdd7a60216a578d5.zip |
util.dependencies: Reject Lua 5.1, Lua 5.2 or later is now required (see #1600)
Diffstat (limited to 'util')
-rw-r--r-- | util/dependencies.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/dependencies.lua b/util/dependencies.lua index 7ecbf797..165468c5 100644 --- a/util/dependencies.lua +++ b/util/dependencies.lua @@ -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 |