mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
core.hostmanager: Remove obsolete clearing of srv_hosts
Gone with s2sout.lib in 756b8821007a
This commit is contained in:
parent
d35efa926b
commit
8c81d37532
1 changed files with 0 additions and 1 deletions
|
@ -133,7 +133,6 @@ function deactivate(host, reason)
|
||||||
for remotehost, session in pairs(host_session.s2sout) do
|
for remotehost, session in pairs(host_session.s2sout) do
|
||||||
if session.close then
|
if session.close then
|
||||||
log("debug", "Closing outgoing connection to %s", remotehost);
|
log("debug", "Closing outgoing connection to %s", remotehost);
|
||||||
if session.srv_hosts then session.srv_hosts = nil; end
|
|
||||||
session:close(reason);
|
session:close(reason);
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue