Software /
code /
prosody
Diff
plugins/mod_s2s/mod_s2s.lua @ 10482:c7864f970969
mod_s2s: Fix mistake in 28755107c2f4
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 03 Dec 2019 17:29:43 +0100 |
parent | 10477:28755107c2f4 |
child | 10483:c12a24f0a385 |
line wrap: on
line diff
--- a/plugins/mod_s2s/mod_s2s.lua Mon Dec 02 16:00:16 2019 +0100 +++ b/plugins/mod_s2s/mod_s2s.lua Tue Dec 03 17:29:43 2019 +0100 @@ -516,6 +516,7 @@ if reason.extra then stanza:add_child(reason.extra); end + reason = stanza; end if st.is_stanza(reason) then -- to and from are never unknown on outgoing connections