diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-11-14 14:26:56 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-11-14 14:26:56 +0000 |
commit | be854cf8995560ecb4cf61e3d7f9823e970c0521 (patch) | |
tree | bad2b11e07f22e9eb1fbca9936ae777d30951370 | |
parent | 22df06d27db30cae5c7d3361a4fe51ab9a89dcbc (diff) | |
download | prosody-be854cf8995560ecb4cf61e3d7f9823e970c0521.tar.gz prosody-be854cf8995560ecb4cf61e3d7f9823e970c0521.zip |
Fix outgoing s2s from components. Fixes #16
-rw-r--r-- | core/componentmanager.lua | 2 |
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);
|