From a23b9fd0ea3b3404861fd56db9d99d9b7e32f3fd Mon Sep 17 00:00:00 2001
From: Kim Alvefur <zash@zash.se>
Date: Sat, 30 Mar 2019 09:04:33 +0100
Subject: core.s2smanager: Fix previous commit (Thanks Martin)

---
 core/s2smanager.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'core')

diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index 46dcd108..684bb94e 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -32,7 +32,7 @@ local function new_incoming(conn)
 	sessionlib.set_logger(host_session);
 	sessionlib.set_conn(host_session, conn);
 	host_session.direction = "incoming";
-	host_session.session.hosts = {};
+	host_session.hosts = {};
 	incoming_s2s[host_session] = true;
 	return host_session;
 end
-- 
cgit v1.2.3