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
commit952ba43fea2d02b6a6f077274e869280288a87cd (patch)
tree8933976d3a5369fba660db108e95d23b5a7d2e1b /core/loggingmanager.lua
parentf856a201b70f1cbacb1d9715d44a6ab442a7fa06 (diff)
downloadprosody-952ba43fea2d02b6a6f077274e869280288a87cd.tar.gz
prosody-952ba43fea2d02b6a6f077274e869280288a87cd.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";