diff options
Diffstat (limited to 'plugins/mod_s2s.lua')
-rw-r--r-- | plugins/mod_s2s.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_s2s.lua b/plugins/mod_s2s.lua index ca06c281..9aaecd6e 100644 --- a/plugins/mod_s2s.lua +++ b/plugins/mod_s2s.lua @@ -261,6 +261,7 @@ function module.add_host(module) 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"); |