Comparison

core/moduleapi.lua @ 7163:eadbf19d0de0

loggingmanager,modulemanager,moduleapi: Ignore warning about accessing _G.unpack [luacheck]
author Kim Alvefur <zash@zash.se>
date Thu, 18 Feb 2016 14:57:51 +0100
parent 7162:d0b64f1e4f5d
child 7164:af26e8eb591f
child 7342:79a5db780e8b
comparison
equal deleted inserted replaced
7162:d0b64f1e4f5d 7163:eadbf19d0de0
18 local st = require "util.stanza"; 18 local st = require "util.stanza";
19 19
20 local t_insert, t_remove, t_concat = table.insert, table.remove, table.concat; 20 local t_insert, t_remove, t_concat = table.insert, table.remove, table.concat;
21 local error, setmetatable, type = error, setmetatable, type; 21 local error, setmetatable, type = error, setmetatable, type;
22 local ipairs, pairs, select = ipairs, pairs, select; 22 local ipairs, pairs, select = ipairs, pairs, select;
23 local unpack = table.unpack or unpack; 23 local unpack = table.unpack or unpack; --luacheck: ignore 113
24 local tonumber, tostring = tonumber, tostring; 24 local tonumber, tostring = tonumber, tostring;
25 local require = require; 25 local require = require;
26 26
27 local prosody = prosody; 27 local prosody = prosody;
28 local hosts = prosody.hosts; 28 local hosts = prosody.hosts;