Software /
code /
prosody
Changeset
11431:4874b54af344
util.gc: Fix check for Lua 5.4
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 16 Mar 2021 00:04:26 +0100 |
parents | 11430:56a282ecdcf1 |
children | 11432:113f3912c7cb |
files | util/gc.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util/gc.lua Mon Mar 15 23:09:42 2021 +0100 +++ b/util/gc.lua Tue Mar 16 00:04:26 2021 +0100 @@ -5,7 +5,7 @@ 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