diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-05-15 08:42:53 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-05-15 08:42:53 +0500 |
commit | d836e5c09de5c45af4c76cc8cc66458bc0c5deec (patch) | |
tree | d038e19fd6e6a61a4af6096927d22a193775e2e1 | |
parent | ac714ae51b169c3a64041355b8d954a5adeaa5d8 (diff) | |
download | prosody-d836e5c09de5c45af4c76cc8cc66458bc0c5deec.tar.gz prosody-d836e5c09de5c45af4c76cc8cc66458bc0c5deec.zip |
stanza_router: Removed some unnecessary code
-rw-r--r-- | core/stanza_router.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/stanza_router.lua b/core/stanza_router.lua index 75b477b4..8f3d2d1f 100644 --- a/core/stanza_router.lua +++ b/core/stanza_router.lua @@ -128,8 +128,6 @@ function core_process_stanza(origin, stanza) component_handle_stanza(origin, stanza); elseif hosts[host] and hosts[host].type == "component" then -- directed at a component component_handle_stanza(origin, stanza); - elseif origin.type == "c2s" and stanza.name == "presence" and stanza.attr.type ~= nil and stanza.attr.type ~= "unavailable" and stanza.attr.type ~= "error" then - handle_outbound_presence_subscriptions_and_probes(origin, stanza, from_bare, to_bare, core_route_stanza); elseif hosts[host] and hosts[host].type == "local" and stanza.name == "iq" and not resource then -- directed at bare JID core_handle_stanza(origin, stanza); else |