Software /
code /
prosody
Changeset
11684:8b0baf3003fb
mod_s2s: Don't close connections on reload
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 14 Jul 2021 02:53:42 +0200 |
parents | 11683:41b144a93897 |
children | 11685:247561bf6fca |
files | plugins/mod_s2s.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_s2s.lua Wed Jul 14 02:39:54 2021 +0200 +++ b/plugins/mod_s2s.lua Wed Jul 14 02:53:42 2021 +0200 @@ -261,6 +261,7 @@ end, -1); function module.unload() + if module.reloading then return end for _, session in pairs(sessions) do if session.to_host == module.host or session.from_host == module.host then session:close("host-gone");