aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-06-28 21:32:19 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-06-28 21:32:19 +0500
commite0b4f8cb2133898d410a0f376f2a918b05fe5afb (patch)
treee5b5321a680cf735d182a48a6a0cb0583e1b2e35 /core
parentf79a4c31bd44cab20a27399ab2f8b712c7055784 (diff)
parent9a3cf5cc0098f3a3b3f8a29d90bc1dae22837aff (diff)
downloadprosody-e0b4f8cb2133898d410a0f376f2a918b05fe5afb.tar.gz
prosody-e0b4f8cb2133898d410a0f376f2a918b05fe5afb.zip
Merged with trunk
Diffstat (limited to 'core')
-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