diff options
author | Kim Alvefur <zash@zash.se> | 2017-11-10 17:47:11 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-11-10 17:47:11 +0100 |
commit | c904d1e28dbf00d2deee806ddb8de08be0eb0218 (patch) | |
tree | 105402674b1ad12890bdc6f3dcd12118ce57591f /util/iterators.lua | |
parent | fc6e0a089d6d54aa547014eb4217fa77fe8fc3a4 (diff) | |
download | prosody-c904d1e28dbf00d2deee806ddb8de08be0eb0218.tar.gz prosody-c904d1e28dbf00d2deee806ddb8de08be0eb0218.zip |
util: Ignore some Lua 5.1 vs 5.2 compat things [luacheck]
Diffstat (limited to 'util/iterators.lua')
-rw-r--r-- | util/iterators.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/iterators.lua b/util/iterators.lua index bd150ff2..a152e7be 100644 --- a/util/iterators.lua +++ b/util/iterators.lua @@ -12,8 +12,8 @@ local it = {}; local t_insert = table.insert; local select, next = select, next; -local unpack = table.unpack or unpack; --luacheck: ignore 113 -local pack = table.pack or function (...) return { n = select("#", ...), ... }; end +local unpack = table.unpack or unpack; --luacheck: ignore 113 143 +local pack = table.pack or function (...) return { n = select("#", ...), ... }; end -- luacheck: ignore 143 -- Reverse an iterator function it.reverse(f, s, var) |