# HG changeset patch # User Kim Alvefur # Date 1519845441 -3600 # Node ID 5800f0c7afd6991a1cb3a8bbef59524fa0b03b4d # Parent 4f0f5b49bb0309ffec5ff340004de28c367cd074 util.logger: Import globals (fixes on Lua 5.2) diff -r 4f0f5b49bb03 -r 5800f0c7afd6 util/logger.lua --- a/util/logger.lua Wed Feb 28 20:06:26 2018 +0100 +++ b/util/logger.lua Wed Feb 28 20:17:21 2018 +0100 @@ -8,6 +8,8 @@ -- luacheck: ignore 213/level local pairs = pairs; +local ipairs = ipairs; +local require = require; local _ENV = nil; -- luacheck: std none