diff options
author | Kim Alvefur <zash@zash.se> | 2018-02-28 20:17:21 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-02-28 20:17:21 +0100 |
commit | d1ab16f9e961325b955ceda0dc91e4582f82c5ef (patch) | |
tree | 3513c9955a8588b7d47fa92c504d250431c98a17 /util/logger.lua | |
parent | 146acdbd338c1e2c2523b720cd1b93a7db1476eb (diff) | |
download | prosody-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.lua | 2 |
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 |