Software /
code /
prosody
Diff
core/componentmanager.lua @ 1434:b5d4db71ef1a
Log stanza if stanza.to isn't set for some component errors.
author | nolan@nolan-eee |
---|---|
date | Sun, 28 Jun 2009 08:09:57 -0500 |
parent | 1366:54b5121b6c83 |
child | 1442:df9d78544f34 |
line wrap: on
line diff
--- 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