diff options
-rw-r--r-- | core/stanza_router.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/stanza_router.lua b/core/stanza_router.lua index d1f39733..632036d1 100644 --- a/core/stanza_router.lua +++ b/core/stanza_router.lua @@ -182,8 +182,7 @@ function core_route_stanza(origin, stanza) origin = origin or hosts[from_host]; if not origin then return false; end - local host_session = hosts[host] - if host_session and host_session.type == "local" then + if hosts[host] then -- old stanza routing code removed core_post_stanza(origin, stanza); elseif origin.type == "c2s" then |