Comparison

core/loggingmanager.lua @ 7158:e5412e685991

loggingmanager: Import select() to fix global access
author Matthew Wild <mwild1@gmail.com>
date Thu, 18 Feb 2016 13:21:12 +0000
parent 7139:2f9088c663c6
child 7163:eadbf19d0de0
comparison
equal deleted inserted replaced
7156:18b7ffd08d56 7158:e5412e685991
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 unpack = table.unpack or unpack; 19 local select, unpack = select, table.unpack or unpack;
20 20
21 local config = require "core.configmanager"; 21 local config = require "core.configmanager";
22 local logger = require "util.logger"; 22 local logger = require "util.logger";
23 local prosody = prosody; 23 local prosody = prosody;
24 24