diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-03-21 21:42:14 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-03-21 21:42:14 +0000 |
commit | 207a2250b6ac207fed0e8055aab5e41e6fc01aae (patch) | |
tree | d6fd51e245983a38480b3ee436b1eed98d285da7 /core/stanza_router.lua | |
parent | d469ca0cc105a5ff6cb870cbc732f8c33e81a12c (diff) | |
download | prosody-207a2250b6ac207fed0e8055aab5e41e6fc01aae.tar.gz prosody-207a2250b6ac207fed0e8055aab5e41e6fc01aae.zip |
core.stanza_router: Allow routing from components
Diffstat (limited to 'core/stanza_router.lua')
-rw-r--r-- | core/stanza_router.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/stanza_router.lua b/core/stanza_router.lua index f98d0ce2..ef973ba2 100644 --- a/core/stanza_router.lua +++ b/core/stanza_router.lua @@ -97,7 +97,7 @@ function core_process_stanza(origin, stanza) end]] -- FIXME -- FIXME do stanzas not of jabber:client get handled by components? - if (origin.type == "s2sin" or origin.type == "c2s") and (not xmlns or xmlns == "jabber:server" or xmlns == "jabber:client") then + if (origin.type == "s2sin" or origin.type == "c2s" or origin.type == "component") and (not xmlns or xmlns == "jabber:server" or xmlns == "jabber:client") then if origin.type == "s2sin" and not origin.dummy then local host_status = origin.hosts[from_host]; if not host_status or not host_status.authed then -- remote server trying to impersonate some other server? |