Software / code / prosody
Comparison
core/loggingmanager.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 | 7158:e5412e685991 |
| child | 7949:8acc35b5355a |
comparison
equal
deleted
inserted
replaced
| 7162:d0b64f1e4f5d | 7163:eadbf19d0de0 |
|---|---|
| 14 local io_open = io.open; | 14 local io_open = io.open; |
| 15 local math_max, rep = math.max, string.rep; | 15 local math_max, rep = math.max, string.rep; |
| 16 local os_date = os.date; | 16 local os_date = os.date; |
| 17 local getstyle, getstring = require "util.termcolours".getstyle, require "util.termcolours".getstring; | 17 local getstyle, getstring = require "util.termcolours".getstyle, require "util.termcolours".getstring; |
| 18 local tostring = tostring; | 18 local tostring = tostring; |
| 19 local select, unpack = select, table.unpack or unpack; | 19 local select = select; |
| 20 local unpack = table.unpack or unpack; --luacheck: ignore 113 | |
| 20 | 21 |
| 21 local config = require "core.configmanager"; | 22 local config = require "core.configmanager"; |
| 22 local logger = require "util.logger"; | 23 local logger = require "util.logger"; |
| 23 local prosody = prosody; | 24 local prosody = prosody; |
| 24 | 25 |