Diff

main.lua @ 260:182f0c895676

Now outgoing s2s sessions are associated with their from_host, fixes #15
author Matthew Wild <mwild1@gmail.com>
date Fri, 14 Nov 2008 02:54:56 +0000
parent 245:5dc6ae7b5ce8
child 359:8fbfa8f885a6
line wrap: on
line diff
--- a/main.lua	Fri Nov 14 02:41:37 2008 +0000
+++ b/main.lua	Fri Nov 14 02:54:56 2008 +0000
@@ -17,7 +17,7 @@
 
 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