Changeset

11505:61d38c4b749d

core.hostmanager: Remove obsolete clearing of srv_hosts Gone with s2sout.lib in 756b8821007a
author Kim Alvefur <zash@zash.se>
date Tue, 06 Apr 2021 13:27:18 +0200
parents 11504:1f700f5f62cb
children 11506:9a3ebdd65f9c
files core/hostmanager.lua
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/hostmanager.lua	Tue Apr 06 13:25:38 2021 +0200
+++ b/core/hostmanager.lua	Tue Apr 06 13:27:18 2021 +0200
@@ -133,7 +133,6 @@
 		for remotehost, session in pairs(host_session.s2sout) do
 			if session.close then
 				log("debug", "Closing outgoing connection to %s", remotehost);
-				if session.srv_hosts then session.srv_hosts = nil; end
 				session:close(reason);
 			end
 		end