aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-04-06 13:27:18 +0200
committerKim Alvefur <zash@zash.se>2021-04-06 13:27:18 +0200
commit8c81d37532b4a4d685acb476fc8e376fa06c8192 (patch)
tree08af4beec02bd7ab1544108a00998f9c57fdcce9
parentd35efa926b7f0fe9a9ba33a7f915b5713b43a8b2 (diff)
downloadprosody-8c81d37532b4a4d685acb476fc8e376fa06c8192.tar.gz
prosody-8c81d37532b4a4d685acb476fc8e376fa06c8192.zip
core.hostmanager: Remove obsolete clearing of srv_hosts
Gone with s2sout.lib in 756b8821007a
-rw-r--r--core/hostmanager.lua1
1 files changed, 0 insertions, 1 deletions
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