aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-02-28 20:17:21 +0100
committerKim Alvefur <zash@zash.se>2018-02-28 20:17:21 +0100
commit731b153dd2c85e0d254cad39ccb7c1517d384ea6 (patch)
tree3513c9955a8588b7d47fa92c504d250431c98a17
parent43b814a83bc1e20d15d3cd38ddcf108d8e3ca356 (diff)
downloadprosody-731b153dd2c85e0d254cad39ccb7c1517d384ea6.tar.gz
prosody-731b153dd2c85e0d254cad39ccb7c1517d384ea6.zip
util.logger: Import globals (fixes on Lua 5.2)
-rw-r--r--util/logger.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/logger.lua b/util/logger.lua
index 795b0b06..20a5cef2 100644
--- a/util/logger.lua
+++ b/util/logger.lua
@@ -8,6 +8,8 @@
-- luacheck: ignore 213/level
local pairs = pairs;
+local ipairs = ipairs;
+local require = require;
local _ENV = nil;
-- luacheck: std none