mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +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
|
@ -14,7 +14,7 @@ local is_contact_subscribed = require "core.rostermanager".is_contact_subscribed
|
|||
local pairs = pairs;
|
||||
local next = next;
|
||||
local type = type;
|
||||
local unpack = table.unpack or unpack; -- luacheck: ignore 113
|
||||
local unpack = table.unpack;
|
||||
local calculate_hash = require "util.caps".calculate_hash;
|
||||
local core_post_stanza = prosody.core_post_stanza;
|
||||
local bare_sessions = prosody.bare_sessions;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue