various: Don't rely on _G.unpack existing

This commit is contained in:
Kim Alvefur 2018-12-08 17:09:55 +01:00
parent 2d56ac0394
commit 2b289f34f9
8 changed files with 8 additions and 2 deletions

View file

@ -11,7 +11,7 @@ local is_stanza = require"util.stanza".is_stanza;
local t_concat = table.concat;
local noop = function() end
local unpack = table.unpack or unpack;
local unpack = table.unpack or unpack; -- luacheck: ignore 113
local function iterator(result)
return function(result_)
local row = result_();