diff options
author | Matthew Wild <mwild1@gmail.com> | 2011-06-18 14:04:56 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2011-06-18 14:04:56 +0100 |
commit | 0390555139f57a2e6d66e92194ee7a49ef9c7d84 (patch) | |
tree | d220731f07b34f8fc8169f63fa1180a68aa78182 /plugins | |
parent | 5855fda78ff9dfc3dea65420474bd88bbd428b30 (diff) | |
download | prosody-0390555139f57a2e6d66e92194ee7a49ef9c7d84.tar.gz prosody-0390555139f57a2e6d66e92194ee7a49ef9c7d84.zip |
mod_component: Clearer log message when bouncing a stanza from a component that is not connected (thanks MK)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_component.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_component.lua b/plugins/mod_component.lua index a70a7223..97c46a8c 100644 --- a/plugins/mod_component.lua +++ b/plugins/mod_component.lua @@ -35,7 +35,7 @@ local function handle_stanza(event) stanza.attr.xmlns = nil; send(stanza); else - log("warn", "Stanza being handled by default component; bouncing error for: %s", stanza:top_tag()); + log("warn", "Component not connected, bouncing error for: %s", stanza:top_tag()); if stanza.attr.type ~= "error" and stanza.attr.type ~= "result" then event.origin.send(st.error_reply(stanza, "wait", "service-unavailable", "Component unavailable")); end |