diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-05-06 19:20:07 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-05-06 19:20:07 +0100 |
commit | 2368a513e2be77728ffe1339d8560ac9e9149e1d (patch) | |
tree | e4a6f2bf57f84ac2a2f384a6953f2a616b83bb8c /core/stanza_router.lua | |
parent | bc3ae7d5b284d3c9c1b1ad298e1d470a77cee02f (diff) | |
download | prosody-2368a513e2be77728ffe1339d8560ac9e9149e1d.tar.gz prosody-2368a513e2be77728ffe1339d8560ac9e9149e1d.zip |
portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, usermanager, util.xml: Add luacheck annotations
Diffstat (limited to 'core/stanza_router.lua')
-rw-r--r-- | core/stanza_router.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/stanza_router.lua b/core/stanza_router.lua index 8e86b16f..55c94bf4 100644 --- a/core/stanza_router.lua +++ b/core/stanza_router.lua @@ -30,7 +30,7 @@ deprecated_warning"core_process_stanza"; deprecated_warning"core_route_stanza"; local valid_stanzas = { message = true, presence = true, iq = true }; -local function handle_unhandled_stanza(host, origin, stanza) +local function handle_unhandled_stanza(host, origin, stanza) --luacheck: ignore 212/host local name, xmlns, origin_type = stanza.name, stanza.attr.xmlns or "jabber:client", origin.type; if xmlns == "jabber:client" and valid_stanzas[name] then -- A normal stanza @@ -221,6 +221,8 @@ function core_route_stanza(origin, stanza) end end end + +--luacheck: ignore 122/prosody prosody.core_process_stanza = core_process_stanza; prosody.core_post_stanza = core_post_stanza; prosody.core_route_stanza = core_route_stanza; |