aboutsummaryrefslogtreecommitdiffstats
path: root/util/logger.lua
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
commitd1ab16f9e961325b955ceda0dc91e4582f82c5ef (patch)
tree3513c9955a8588b7d47fa92c504d250431c98a17 /util/logger.lua
parent146acdbd338c1e2c2523b720cd1b93a7db1476eb (diff)
downloadprosody-d1ab16f9e961325b955ceda0dc91e4582f82c5ef.tar.gz
prosody-d1ab16f9e961325b955ceda0dc91e4582f82c5ef.zip
util.logger: Import globals (fixes on Lua 5.2)
Diffstat (limited to 'util/logger.lua')
-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