Diff

core/componentmanager.lua @ 261:790cf21e2af7

Fix outgoing s2s from components. Fixes #16
author Matthew Wild <mwild1@gmail.com>
date Fri, 14 Nov 2008 14:26:56 +0000
parent 217:d522f3a25dda
child 270:837c7f701a56
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);