Software /
code /
prosody
Diff
util/gc.lua @ 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 |
parent | 10935:2d57c49bfa12 |
child | 12975:d10957394a3c |
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