# HG changeset patch # User Matthew Wild # Date 1308402296 -3600 # Node ID 53f3c3001499832f1a75edb605fee43fe9704878 # Parent aff627b1ce959f7e56da28577b0b8f28c39b43af mod_component: Clearer log message when bouncing a stanza from a component that is not connected (thanks MK) diff -r aff627b1ce95 -r 53f3c3001499 plugins/mod_component.lua --- a/plugins/mod_component.lua Wed Jun 15 23:44:18 2011 +0200 +++ b/plugins/mod_component.lua Sat Jun 18 14:04:56 2011 +0100 @@ -35,7 +35,7 @@ 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