stanza_router: Remove obsolete commented code
authorMatthew Wild <mwild1@gmail.com>
Mon, 23 Jan 2012 16:24:06 +0000
changeset 4553 adcfdaffbccf
parent 4552 414d857ee125
child 4554 6ceabde7af91
stanza_router: Remove obsolete commented code
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];