Sun, 28 Jun 2009 08:09:57 -0500
Log stanza if stanza.to isn't set for some component errors.
core/componentmanager.lua | file | annotate | diff | comparison | revisions |
--- a/core/componentmanager.lua Fri Jun 26 15:35:20 2009 +0100 +++ b/core/componentmanager.lua Sun Jun 28 08:09:57 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