Software /
code /
prosody
Diff
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 |
line wrap: on
line diff
--- a/core/loggingmanager.lua Tue Feb 09 17:24:04 2016 +0100 +++ b/core/loggingmanager.lua Thu Feb 18 13:21:12 2016 +0000 @@ -16,7 +16,7 @@ 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";