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
commit6d713ae28841ce55151f5424af72e1b2ddfea94e (patch)
treeb123208ff44ce7b8dd226c6355cf0c9e18bb7981 /net/dns.lua
parent6aadf43375e06187ccd7d2a3f20aff5bdb9383fb (diff)
downloadprosody-6d713ae28841ce55151f5424af72e1b2ddfea94e.tar.gz
prosody-6d713ae28841ce55151f5424af72e1b2ddfea94e.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, ...)