Merge with nolan

Sun, 28 Jun 2009 14:17:22 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Sun, 28 Jun 2009 14:17:22 +0100
changeset 1436
064cb5328ac5
parent 1435
7a073b0a8f6a (current diff)
parent 1434
b5d4db71ef1a (diff)
child 1438
f02a5a982fac

Merge with nolan

--- a/core/componentmanager.lua	Sun Jun 28 14:17:07 2009 +0100
+++ b/core/componentmanager.lua	Sun Jun 28 14:17:22 2009 +0100
@@ -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
 

mercurial