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 | 731b153dd2c85e0d254cad39ccb7c1517d384ea6 (patch) | |
tree | 3513c9955a8588b7d47fa92c504d250431c98a17 /util/logger.lua | |
parent | 43b814a83bc1e20d15d3cd38ddcf108d8e3ca356 (diff) | |
download | prosody-731b153dd2c85e0d254cad39ccb7c1517d384ea6.tar.gz prosody-731b153dd2c85e0d254cad39ccb7c1517d384ea6.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 |