From be854cf8995560ecb4cf61e3d7f9823e970c0521 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 14 Nov 2008 14:26:56 +0000 Subject: Fix outgoing s2s from components. Fixes #16 --- core/componentmanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/componentmanager.lua b/core/componentmanager.lua index 38718882..254abfe4 100644 --- a/core/componentmanager.lua +++ b/core/componentmanager.lua @@ -25,7 +25,7 @@ function register_component(host, component) 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); -- cgit v1.2.3