diff options
Diffstat (limited to 'core/componentmanager.lua')
-rw-r--r-- | core/componentmanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/componentmanager.lua b/core/componentmanager.lua index 086b9eab..3add43ec 100644 --- a/core/componentmanager.lua +++ b/core/componentmanager.lua @@ -29,7 +29,7 @@ module "componentmanager" local function default_component_handler(origin, stanza) log("warn", "Stanza being handled by default component, bouncing error"); - if stanza.attr.type ~= "error" then + if stanza.attr.type ~= "error" and stanza.attr.type ~= "result" then core_route_stanza(nil, st.error_reply(stanza, "wait", "service-unavailable", "Component unavailable")); end end |