aboutsummaryrefslogtreecommitdiffstats
path: root/core
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
commit8d6b12845ccaa811bf917059e5c2a1d55d5164f8 (patch)
treebf98b7922d5e8c607b1abcdb8023cbbf9229f26b /core
parente2b553bd2a4f946b827bac15c0220b506ef90756 (diff)
downloadprosody-8d6b12845ccaa811bf917059e5c2a1d55d5164f8.tar.gz
prosody-8d6b12845ccaa811bf917059e5c2a1d55d5164f8.zip
stanza_router: Remove obsolete commented code
Diffstat (limited to 'core')
-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];