aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-01-23 16:24:06 +0000
committerMatthew Wild <mwild1@gmail.com>2012-01-23 16:24:06 +0000
commit3e2d3f18754e6b367ff69b46f138af9770c92b62 (patch)
treebf98b7922d5e8c607b1abcdb8023cbbf9229f26b
parentb1b28066ba73cf808af9f2b895ece7428c61a4b5 (diff)
downloadprosody-3e2d3f18754e6b367ff69b46f138af9770c92b62.tar.gz
prosody-3e2d3f18754e6b367ff69b46f138af9770c92b62.zip
stanza_router: Remove obsolete commented code
-rw-r--r--core/stanza_router.lua5
1 files changed, 0 insertions, 5 deletions
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];