diff options
author | Tobias Markmann <tm@ayena.de> | 2008-11-15 13:47:17 +0100 |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2008-11-15 13:47:17 +0100 |
commit | efb34b5c4af68c37a568e61986a0b93535a50814 (patch) | |
tree | ba77cb7ad14158323a31bfb9e332c508e94d5b31 /core/componentmanager.lua | |
parent | 18e785078a2edf69bf4ec728290a18de2ed28cd7 (diff) | |
parent | aefcb845c34c7bf15a370812b28b5da27fbc983b (diff) | |
download | prosody-efb34b5c4af68c37a568e61986a0b93535a50814.tar.gz prosody-efb34b5c4af68c37a568e61986a0b93535a50814.zip |
Merging my new SASL code with Waqas' adjusted saslauth module.
Diffstat (limited to 'core/componentmanager.lua')
-rw-r--r-- | core/componentmanager.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/componentmanager.lua b/core/componentmanager.lua index 38718882..5b655435 100644 --- a/core/componentmanager.lua +++ b/core/componentmanager.lua @@ -25,8 +25,9 @@ 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);
+ return hosts[host];
else
log("error", "Attempt to set component for existing host: "..host);
end
|