Diff

util/xml.lua @ 6663:d3023dd07cb6

portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, usermanager, util.xml: Add luacheck annotations
author Matthew Wild <mwild1@gmail.com>
date Wed, 06 May 2015 19:20:07 +0100
parent 5776:bd0ff8ae98a8
child 6669:7da8b6bc0966
line wrap: on
line diff
--- a/util/xml.lua	Wed May 06 19:17:59 2015 +0100
+++ b/util/xml.lua	Wed May 06 19:20:07 2015 +0100
@@ -11,6 +11,7 @@
 	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)