diff options
author | Kim Alvefur <zash@zash.se> | 2021-03-16 00:04:26 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-03-16 00:04:26 +0100 |
commit | 21dfac68ed94fd141949cf5e3735f76145c01e34 (patch) | |
tree | d8217d085ebf270cba3886ff41455bca7b793f2b | |
parent | 409c611a377778342cf27840b1871651df1ad328 (diff) | |
download | prosody-21dfac68ed94fd141949cf5e3735f76145c01e34.tar.gz prosody-21dfac68ed94fd141949cf5e3735f76145c01e34.zip |
util.gc: Fix check for Lua 5.4
-rw-r--r-- | util/gc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/gc.lua b/util/gc.lua index b400af6b..f46e4346 100644 --- a/util/gc.lua +++ b/util/gc.lua @@ -5,7 +5,7 @@ local known_options = { generational = set.new { "mode", "minor_threshold", "major_threshold" }; }; -if _VERSION ~= "5.4" then +if _VERSION ~= "Lua 5.4" then known_options.generational = nil; known_options.incremental:remove("step_size"); end |