aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-14 14:26:56 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-14 14:26:56 +0000
commitbe854cf8995560ecb4cf61e3d7f9823e970c0521 (patch)
treebad2b11e07f22e9eb1fbca9936ae777d30951370 /core
parent22df06d27db30cae5c7d3361a4fe51ab9a89dcbc (diff)
downloadprosody-be854cf8995560ecb4cf61e3d7f9823e970c0521.tar.gz
prosody-be854cf8995560ecb4cf61e3d7f9823e970c0521.zip
Fix outgoing s2s from components. Fixes #16
Diffstat (limited to 'core')
-rw-r--r--core/componentmanager.lua2
1 files changed, 1 insertions, 1 deletions
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);