Changeset

261:790cf21e2af7

Fix outgoing s2s from components. Fixes #16
author Matthew Wild <mwild1@gmail.com>
date Fri, 14 Nov 2008 14:26:56 +0000
parents 260:182f0c895676
children 262:8c73fb2ff4a2
files core/componentmanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/componentmanager.lua	Fri Nov 14 02:54:56 2008 +0000
+++ b/core/componentmanager.lua	Fri Nov 14 14:26:56 2008 +0000
@@ -25,7 +25,7 @@
 	if not hosts[host] then
 		-- TODO check for host well-formedness
 		components[host] = component;
-		hosts[host] = {type = "component", host = host, connected = true};
+		hosts[host] = {type = "component", host = host, connected = true, s2sout = {} };
 		log("debug", "component added: "..host);
 	else
 		log("error", "Attempt to set component for existing host: "..host);