mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, usermanager, util.xml: Add luacheck annotations
This commit is contained in:
parent
59c9585f12
commit
7b3df2bae6
7 changed files with 11 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue