projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net.dns: (for some reason this commit didn't pull over from 0.5) Remove hard-coded...
[prosody.git]
/
core
/
stanza_router.lua
diff --git
a/core/stanza_router.lua
b/core/stanza_router.lua
index 6dc4274b39d2e67cda71cb8b6693ab371f73986f..dac098bbccae4af59c7d044d79f027e4303f706a 100644
(file)
--- a/
core/stanza_router.lua
+++ b/
core/stanza_router.lua
@@
-150,11
+150,7
@@
function core_post_stanza(origin, stanza)
component_handle_stanza(origin, stanza);
return;
end
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
else
core_route_stanza(origin, stanza);
end