aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_component.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-06-18 14:04:56 +0100
committerMatthew Wild <mwild1@gmail.com>2011-06-18 14:04:56 +0100
commitba19cdbf9a43e87deef9db91f6bc3b27d9143870 (patch)
treed220731f07b34f8fc8169f63fa1180a68aa78182 /plugins/mod_component.lua
parent6d5ef2f7f9dafa7cd299c39a0e9f2873cb6f1289 (diff)
downloadprosody-ba19cdbf9a43e87deef9db91f6bc3b27d9143870.tar.gz
prosody-ba19cdbf9a43e87deef9db91f6bc3b27d9143870.zip
mod_component: Clearer log message when bouncing a stanza from a component that is not connected (thanks MK)
Diffstat (limited to 'plugins/mod_component.lua')
-rw-r--r--plugins/mod_component.lua2
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