aboutsummaryrefslogtreecommitdiffstats
path: root/net/dns.lua
diff options
context:
space:
mode:
authorAnton Shestakov <av6@dwimlabs.net>2016-07-28 15:39:48 +0800
committerAnton Shestakov <av6@dwimlabs.net>2016-07-28 15:39:48 +0800
commit5543c03c4b916a10a0223804208e0883bef3a6cf (patch)
treeb123208ff44ce7b8dd226c6355cf0c9e18bb7981 /net/dns.lua
parent4653e9d8abef1988be18dc43955a0d2d134c09c6 (diff)
downloadprosody-5543c03c4b916a10a0223804208e0883bef3a6cf.tar.gz
prosody-5543c03c4b916a10a0223804208e0883bef3a6cf.zip
net.dns: remove unused variable unpack [luacheck]
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 7bdb9e57..232e9e7c 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, select, type, unpack=
- ipairs, next, pairs, print, setmetatable, tostring, assert, error, select, type, table.unpack or unpack;
+local ipairs, next, pairs, print, setmetatable, tostring, assert, error, select, type =
+ ipairs, next, pairs, print, setmetatable, tostring, assert, error, select, type;
local ztact = { -- public domain 20080404 lua@ztact.com
get = function(parent, ...)