aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-06-28 14:17:22 +0100
committerMatthew Wild <mwild1@gmail.com>2009-06-28 14:17:22 +0100
commit9a3cf5cc0098f3a3b3f8a29d90bc1dae22837aff (patch)
treee59261ea999e6d7522a346621c7e1dfe8e553c09
parent0e37b231f247e5a7a0f0fb19b7f4239a3a1b3b68 (diff)
parentf7672bd5078988da630ee66844433e5a3c2476bf (diff)
downloadprosody-9a3cf5cc0098f3a3b3f8a29d90bc1dae22837aff.tar.gz
prosody-9a3cf5cc0098f3a3b3f8a29d90bc1dae22837aff.zip
Merge with nolan
-rw-r--r--core/componentmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/componentmanager.lua b/core/componentmanager.lua
index eb18fced..e375e3bd 100644
--- a/core/componentmanager.lua
+++ b/core/componentmanager.lua
@@ -75,7 +75,7 @@ function handle_stanza(origin, stanza)
log("debug", "%s stanza being handled by component: %s", stanza.name, host);
component(origin, stanza, hosts[host]);
else
- log("error", "Component manager recieved a stanza for a non-existing component: " .. stanza.attr.to);
+ log("error", "Component manager recieved a stanza for a non-existing component: " .. (stanza.attr.to or stanza));
end
end