mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
util.sql: Localize unpack() in Lua 5.2 compatible way
This commit is contained in:
parent
7ebc652e1d
commit
58a6a4b140
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
|
||||
local setmetatable, getmetatable = setmetatable, getmetatable;
|
||||
local ipairs, unpack, select = ipairs, unpack, select;
|
||||
local ipairs, unpack, select = ipairs, table.unpack or unpack, select; --luacheck: ignore 113
|
||||
local tonumber, tostring = tonumber, tostring;
|
||||
local assert, xpcall, debug_traceback = assert, xpcall, debug.traceback;
|
||||
local t_concat = table.concat;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue