aboutsummaryrefslogtreecommitdiffstats
path: root/util/xml.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-05-06 19:20:07 +0100
committerMatthew Wild <mwild1@gmail.com>2015-05-06 19:20:07 +0100
commit2368a513e2be77728ffe1339d8560ac9e9149e1d (patch)
treee4a6f2bf57f84ac2a2f384a6953f2a616b83bb8c /util/xml.lua
parentbc3ae7d5b284d3c9c1b1ad298e1d470a77cee02f (diff)
downloadprosody-2368a513e2be77728ffe1339d8560ac9e9149e1d.tar.gz
prosody-2368a513e2be77728ffe1339d8560ac9e9149e1d.zip
portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, usermanager, util.xml: Add luacheck annotations
Diffstat (limited to 'util/xml.lua')
-rw-r--r--util/xml.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/xml.lua b/util/xml.lua
index 6dbed65d..3c1d3e51 100644
--- a/util/xml.lua
+++ b/util/xml.lua
@@ -11,6 +11,7 @@ local parse_xml = (function()
local ns_separator = "\1";
local ns_pattern = "^([^"..ns_separator.."]*)"..ns_separator.."?(.*)$";
return function(xml)
+ --luacheck: ignore 212/self
local handler = {};
local stanza = st.stanza("root");
function handler:StartElement(tagname, attr)