mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
util.multitable: Localize unpack() in Lua 5.2 compatible way
This commit is contained in:
parent
a2c0f6d645
commit
29c6aed489
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,8 @@
|
|||
|
||||
local select = select;
|
||||
local t_insert = table.insert;
|
||||
local unpack, pairs, next, type = unpack, pairs, next, type;
|
||||
local pairs, next, type = pairs, next, type;
|
||||
local unpack = table.unpack or unpack; --luacheck: ignore 113
|
||||
|
||||
local _ENV = nil;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue