loggingmanager: Import select() to fix global access
authorMatthew Wild <mwild1@gmail.com>
Thu, 18 Feb 2016 13:21:12 +0000 (13:21 +0000)
committerMatthew Wild <mwild1@gmail.com>
Thu, 18 Feb 2016 13:21:12 +0000 (13:21 +0000)
core/loggingmanager.lua

index 77d31964d0d3545b321ac18799e2be396081767a..14dd43608b05612dccd09255ca25f345b7ce9075 100644 (file)
@@ -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";