aboutsummaryrefslogtreecommitdiffstats
path: root/main.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-14 02:54:56 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-14 02:54:56 +0000
commit22df06d27db30cae5c7d3361a4fe51ab9a89dcbc (patch)
tree3d632e375aca4712448301b7a3a968b855db54bd /main.lua
parent428fc65bbc595d80cb678dadcc9ea7cae055d5b9 (diff)
downloadprosody-22df06d27db30cae5c7d3361a4fe51ab9a89dcbc.tar.gz
prosody-22df06d27db30cae5c7d3361a4fe51ab9a89dcbc.zip
Now outgoing s2s sessions are associated with their from_host, fixes #15
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index 36afa58e..a9154d43 100644
--- a/main.lua
+++ b/main.lua
@@ -17,7 +17,7 @@ hosts = {};
if config.hosts and #config.hosts > 0 then
for _, host in pairs(config.hosts) do
- hosts[host] = {type = "local", connected = true, sessions = {}, host = host};
+ hosts[host] = {type = "local", connected = true, sessions = {}, host = host, s2sout = {} };
end
else error("No hosts defined in the configuration file"); end