aboutsummaryrefslogtreecommitdiffstats
path: root/core/loggingmanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2016-02-18 13:21:12 +0000
committerMatthew Wild <mwild1@gmail.com>2016-02-18 13:21:12 +0000
commit63b4f27dfb4611859e9115a67ad72420bf5217b8 (patch)
tree8933976d3a5369fba660db108e95d23b5a7d2e1b /core/loggingmanager.lua
parentbb71bd86fa1c64fa83aa309e006556ccf0e751b6 (diff)
downloadprosody-63b4f27dfb4611859e9115a67ad72420bf5217b8.tar.gz
prosody-63b4f27dfb4611859e9115a67ad72420bf5217b8.zip
loggingmanager: Import select() to fix global access
Diffstat (limited to 'core/loggingmanager.lua')
-rw-r--r--core/loggingmanager.lua2
1 files changed, 1 insertions, 1 deletions
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";