Mercurial > prosody-hg
diff core/componentmanager.lua @ 1438:f02a5a982fac
Merged with trunk
| author | Waqas Hussain <waqas20@gmail.com> |
|---|---|
| date | Sun, 28 Jun 2009 21:32:19 +0500 |
| parents | b5d4db71ef1a |
| children | df9d78544f34 |
line wrap: on
line diff
--- a/core/componentmanager.lua Sun Jun 28 21:29:39 2009 +0500 +++ b/core/componentmanager.lua Sun Jun 28 21:32:19 2009 +0500 @@ -75,7 +75,7 @@ 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
