aboutsummaryrefslogtreecommitdiffstats
path: root/util/template.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-02-28 20:06:26 +0100
committerKim Alvefur <zash@zash.se>2018-02-28 20:06:26 +0100
commit146acdbd338c1e2c2523b720cd1b93a7db1476eb (patch)
tree0f24fe5bf868191f9e33931f28c9db16e098d2bb /util/template.lua
parent5a20cd359acf20247d9c2e4168bbe65253dbcce9 (diff)
downloadprosody-146acdbd338c1e2c2523b720cd1b93a7db1476eb.tar.gz
prosody-146acdbd338c1e2c2523b720cd1b93a7db1476eb.zip
vairious: Add annotation when an empty environment is set [luacheck]
Diffstat (limited to 'util/template.lua')
-rw-r--r--util/template.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/template.lua b/util/template.lua
index bc56020c..c11037c5 100644
--- a/util/template.lua
+++ b/util/template.lua
@@ -10,6 +10,7 @@ local t_remove = table.remove;
local parse_xml = require "util.xml".parse;
local _ENV = nil;
+-- luacheck: std none
local function trim_xml(stanza)
for i=#stanza,1,-1 do