core/stanza_router.lua
changeset 4553 adcfdaffbccf
parent 4130 c3508071af47
child 4554 6ceabde7af91
--- 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];