# HG changeset patch # User Matthew Wild # Date 1327335846 0 # Node ID adcfdaffbccf9b7214dddf6341cc6bd234f874b7 # Parent 414d857ee12518876be24065c52bb9a80bb12d98 stanza_router: Remove obsolete commented code diff -r 414d857ee125 -r adcfdaffbccf core/stanza_router.lua --- 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];