From 3e2d3f18754e6b367ff69b46f138af9770c92b62 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Mon, 23 Jan 2012 16:24:06 +0000 Subject: stanza_router: Remove obsolete commented code --- core/stanza_router.lua | 5 ----- 1 file changed, 5 deletions(-) (limited to 'core') diff --git a/core/stanza_router.lua b/core/stanza_router.lua index 406ad2f0..4a30279d 100644 --- a/core/stanza_router.lua +++ b/core/stanza_router.lua @@ -105,11 +105,6 @@ function core_process_stanza(origin, stanza) 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]; -- cgit v1.2.3