Software /
code /
prosody
Changeset
4553:adcfdaffbccf
stanza_router: Remove obsolete commented code
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 23 Jan 2012 16:24:06 +0000 |
parents | 4552:414d857ee125 |
children | 4554:6ceabde7af91 |
files | core/stanza_router.lua |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/core/stanza_router.lua Mon Jan 23 02:23:23 2012 +0000 +++ b/core/stanza_router.lua Mon Jan 23 16:24:06 2012 +0000 @@ -105,11 +105,6 @@ stanza.attr.from = from; end - --[[if to and not(hosts[to]) and not(hosts[to_bare]) and (hosts[host] and hosts[host].type ~= "local") then -- not for us? - log("warn", "stanza recieved for a non-local server"); - return; -- FIXME what should we do here? - end]] -- FIXME - if (origin.type == "s2sin" or origin.type == "c2s" or origin.type == "component") and xmlns == nil then if origin.type == "s2sin" and not origin.dummy then local host_status = origin.hosts[from_host];