Software /
code /
prosody
Diff
core/stanza_router.lua @ 1610:07be0ac220d8
Merge with 0.5
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 27 Jul 2009 22:42:36 +0100 |
parent | 1609:95d3bcd82334 |
child | 1887:e3c790060c03 |
child | 1899:ccb7d9ccbf24 |
line wrap: on
line diff
--- a/core/stanza_router.lua Mon Jul 27 01:28:22 2009 +0100 +++ b/core/stanza_router.lua Mon Jul 27 22:42:36 2009 +0100 @@ -150,11 +150,7 @@ component_handle_stanza(origin, stanza); return; end - if not modules_handle_stanza(h.host, origin, stanza) then - if stanza.attr.type ~= "result" and stanza.attr.type ~= "error" then - origin.send(st.error_reply(stanza, "cancel", "service-unavailable")); - end - end + modules_handle_stanza(h.host, origin, stanza); else core_route_stanza(origin, stanza); end