aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-03-16 00:04:26 +0100
committerKim Alvefur <zash@zash.se>2021-03-16 00:04:26 +0100
commit21dfac68ed94fd141949cf5e3735f76145c01e34 (patch)
treed8217d085ebf270cba3886ff41455bca7b793f2b /util
parent409c611a377778342cf27840b1871651df1ad328 (diff)
downloadprosody-21dfac68ed94fd141949cf5e3735f76145c01e34.tar.gz
prosody-21dfac68ed94fd141949cf5e3735f76145c01e34.zip
util.gc: Fix check for Lua 5.4
Diffstat (limited to 'util')
-rw-r--r--util/gc.lua2
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