aboutsummaryrefslogtreecommitdiffstats
path: root/net/dns.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-03-29 15:38:14 +0200
committerKim Alvefur <zash@zash.se>2016-03-29 15:38:14 +0200
commit41aae0c0c5349de539b4d6805d73849823c25340 (patch)
treefe70196be61487570b1e5364d6a2d114791755bd /net/dns.lua
parent7b609609f929e1125b9347d7fb0b8e080da3ce5c (diff)
parenta358cc2e16e7fcd0c2c0099ebaa13e8c02a3dfb0 (diff)
downloadprosody-41aae0c0c5349de539b4d6805d73849823c25340.tar.gz
prosody-41aae0c0c5349de539b4d6805d73849823c25340.zip
Merge 0.10->trunk
Diffstat (limited to 'net/dns.lua')
-rw-r--r--net/dns.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dns.lua b/net/dns.lua
index b047ec54..689020a4 100644
--- a/net/dns.lua
+++ b/net/dns.lua
@@ -22,8 +22,8 @@ local is_windows = (_ and windows) or os.getenv("WINDIR");
local coroutine, io, math, string, table =
coroutine, io, math, string, table;
-local ipairs, next, pairs, print, setmetatable, tostring, assert, error, unpack, select, type=
- ipairs, next, pairs, print, setmetatable, tostring, assert, error, unpack, select, type;
+local ipairs, next, pairs, print, setmetatable, tostring, assert, error, select, type, unpack=
+ ipairs, next, pairs, print, setmetatable, tostring, assert, error, select, type, table.unpack or unpack;
local ztact = { -- public domain 20080404 lua@ztact.com
get = function(parent, ...)