Mercurial > prosody-hg
diff net/resolvers/manual.lua @ 9691:e11e076f0eb8
various: Don't rely on _G.unpack existing
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 08 Dec 2018 17:09:55 +0100 |
| parents | 601681acea73 |
| children | 39ae08180c81 |
line wrap: on
line diff
--- a/net/resolvers/manual.lua Sat Dec 08 17:07:28 2018 +0100 +++ b/net/resolvers/manual.lua Sat Dec 08 17:09:55 2018 +0100 @@ -1,5 +1,6 @@ local methods = {}; local resolver_mt = { __index = methods }; +local unpack = table.unpack or unpack; -- luacheck: ignore 113 -- Find the next target to connect to, and -- pass it to cb()
