From: Matthew Wild Date: Thu, 18 Feb 2016 13:21:12 +0000 (+0000) Subject: loggingmanager: Import select() to fix global access X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=85b875c214457561f0ad57a37eb4d41aca6f2208;p=prosody.git loggingmanager: Import select() to fix global access --- diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua index 77d31964..14dd4360 100644 --- a/core/loggingmanager.lua +++ b/core/loggingmanager.lua @@ -16,7 +16,7 @@ local math_max, rep = math.max, string.rep; local os_date = os.date; local getstyle, getstring = require "util.termcolours".getstyle, require "util.termcolours".getstring; local tostring = tostring; -local unpack = table.unpack or unpack; +local select, unpack = select, table.unpack or unpack; local config = require "core.configmanager"; local logger = require "util.logger";