aboutsummaryrefslogtreecommitdiffstats
path: root/util/envload.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-11-23 20:51:38 +0100
committerKim Alvefur <zash@zash.se>2017-11-23 20:51:38 +0100
commit2ae9db48c5d493a4b500a35ca868ecef2a8a4c63 (patch)
tree388f609b57404d59a51b007a31c25a2002fdc51a /util/envload.lua
parent8fad47a0c616242cade2b81d7b54af6ea8c7176b (diff)
downloadprosody-2ae9db48c5d493a4b500a35ca868ecef2a8a4c63.tar.gz
prosody-2ae9db48c5d493a4b500a35ca868ecef2a8a4c63.zip
util.envload: Ignore "undefined variable" warning for loadstring [luacheck with strict 5.2 or 5.3 checks]
Diffstat (limited to 'util/envload.lua')
-rw-r--r--util/envload.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/envload.lua b/util/envload.lua
index 926f20c0..6182a1f9 100644
--- a/util/envload.lua
+++ b/util/envload.lua
@@ -4,7 +4,7 @@
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
--- luacheck: ignore 113/setfenv
+-- luacheck: ignore 113/setfenv 113/loadstring
local load, loadstring, setfenv = load, loadstring, setfenv;
local io_open = io.open;