core/s2smanager.lua

changeset 1888
562635baad36
parent 1833
f4c88dd32724
child 1889
e875833ae08e
--- a/core/s2smanager.lua	Sun Oct 04 16:31:27 2009 +0100
+++ b/core/s2smanager.lua	Sun Oct 04 16:34:17 2009 +0100
@@ -145,7 +145,9 @@
 end
 
 function new_outgoing(from_host, to_host)
-		local host_session = { to_host = to_host, from_host = from_host, notopen = true, type = "s2sout_unauthed", direction = "outgoing" };
+		local host_session = { to_host = to_host, from_host = from_host, host = from_host, 
+		                       notopen = true, type = "s2sout_unauthed", direction = "outgoing" };
+		
 		hosts[from_host].s2sout[to_host] = host_session;
 		
 		local log;

mercurial