From 8c81d37532b4a4d685acb476fc8e376fa06c8192 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 6 Apr 2021 13:27:18 +0200 Subject: core.hostmanager: Remove obsolete clearing of srv_hosts Gone with s2sout.lib in 756b8821007a --- core/hostmanager.lua | 1 - 1 file changed, 1 deletion(-) (limited to 'core') diff --git a/core/hostmanager.lua b/core/hostmanager.lua index 9acca517..f33a3e1e 100644 --- a/core/hostmanager.lua +++ b/core/hostmanager.lua @@ -133,7 +133,6 @@ function deactivate(host, reason) 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 -- cgit v1.2.3