Software /
code /
prosody
Diff
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 |
line wrap: on
line diff
--- a/core/moduleapi.lua Thu Feb 18 14:57:04 2016 +0100 +++ b/core/moduleapi.lua Thu Feb 18 14:57:51 2016 +0100 @@ -20,7 +20,7 @@ local t_insert, t_remove, t_concat = table.insert, table.remove, table.concat; local error, setmetatable, type = error, setmetatable, type; local ipairs, pairs, select = ipairs, pairs, select; -local unpack = table.unpack or unpack; +local unpack = table.unpack or unpack; --luacheck: ignore 113 local tonumber, tostring = tonumber, tostring; local require = require;