mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 06:07:37 +03:00
various: Don't rely on _G.unpack existing
This commit is contained in:
parent
2d56ac0394
commit
2b289f34f9
8 changed files with 8 additions and 2 deletions
|
@ -16,6 +16,7 @@ local bor = bit.bor;
|
|||
local bxor = bit.bxor;
|
||||
local lshift = bit.lshift;
|
||||
local rshift = bit.rshift;
|
||||
local unpack = table.unpack or unpack; -- luacheck: ignore 113
|
||||
|
||||
local t_concat = table.concat;
|
||||
local s_byte = string.byte;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue