diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-05-06 19:26:53 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-05-06 19:26:53 +0100 |
commit | 125dc63f565a46aedcb1750c45dcc97c71c2c72b (patch) | |
tree | 15f1682fbc9c2ea904651bcc59e99d2397b0d4a8 /core/stanza_router.lua | |
parent | 83049e63c621c66da5129449f3a610df2e74ce38 (diff) | |
parent | ec83b2aa91ab9142ad6e7f4d26b0f6d20853e747 (diff) | |
download | prosody-125dc63f565a46aedcb1750c45dcc97c71c2c72b.tar.gz prosody-125dc63f565a46aedcb1750c45dcc97c71c2c72b.zip |
Merge 0.10->trunk
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; |