mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
compat: Remove handling of Lua 5.1 location of 'unpack' function
This commit is contained in:
parent
d055a704d8
commit
5251c9b686
17 changed files with 17 additions and 17 deletions
|
@ -22,7 +22,7 @@ local _G = _G;
|
|||
|
||||
local prosody = _G.prosody;
|
||||
|
||||
local unpack = table.unpack or unpack; -- luacheck: ignore 113
|
||||
local unpack = table.unpack;
|
||||
local iterators = require "util.iterators";
|
||||
local keys, values = iterators.keys, iterators.values;
|
||||
local jid_bare, jid_split, jid_join = import("util.jid", "bare", "prepped_split", "join");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue