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
commit7b3df2bae66c5081cb53c82f93546b1f28549611 (patch)
treee4a6f2bf57f84ac2a2f384a6953f2a616b83bb8c /util/xml.lua
parent59c9585f12bbe887886947cd9e878a018e55a59a (diff)
downloadprosody-7b3df2bae66c5081cb53c82f93546b1f28549611.tar.gz
prosody-7b3df2bae66c5081cb53c82f93546b1f28549611.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)