diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-03-27 22:24:57 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-03-27 22:24:57 +0000 |
commit | 85acc757991e3a425e8d8cab4611c7c321dc8425 (patch) | |
tree | f7d0930c79494da535857eaf4f2a976bb052fa35 /core/hostmanager.lua | |
parent | 25d886be280a1b6d9965b38cb22aa328354de0c2 (diff) | |
parent | f3797f8dc8d711759fa4bf93a3a13f4dadbfdd7a (diff) | |
download | prosody-85acc757991e3a425e8d8cab4611c7c321dc8425.tar.gz prosody-85acc757991e3a425e8d8cab4611c7c321dc8425.zip |
Merge 0.10->trunk
Diffstat (limited to 'core/hostmanager.lua')
-rw-r--r-- | core/hostmanager.lua | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/core/hostmanager.lua b/core/hostmanager.lua index 7f9d1610..b13b1944 100644 --- a/core/hostmanager.lua +++ b/core/hostmanager.lua @@ -55,13 +55,6 @@ end prosody_events.add_handler("server-starting", load_enabled_hosts); local function host_send(stanza) - local name, type = stanza.name, stanza.attr.type; - if type == "error" or (name == "iq" and type == "result") then - local dest_host_name = select(2, jid_split(stanza.attr.to)); - local dest_host = hosts[dest_host_name] or { type = "unknown" }; - log("warn", "Unhandled response sent to %s host %s: %s", dest_host.type, dest_host_name, tostring(stanza)); - return; - end core_route_stanza(nil, stanza); end |