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
|
@ -1,5 +1,6 @@
|
|||
local adns = require "net.adns";
|
||||
local inet_pton = require "util.net".pton;
|
||||
local unpack = table.unpack or unpack; -- luacheck: ignore 113
|
||||
|
||||
local methods = {};
|
||||
local resolver_mt = { __index = methods };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue