portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, usermanager, util.xml: Add luacheck annotations

This commit is contained in:
Matthew Wild 2015-05-06 19:20:07 +01:00
parent 59c9585f12
commit 7b3df2bae6
7 changed files with 11 additions and 8 deletions

View file

@ -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)