mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +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
|
@ -14,6 +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 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