aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s/mod_s2s.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-12-03 17:29:43 +0100
committerKim Alvefur <zash@zash.se>2019-12-03 17:29:43 +0100
commit129b463d8141be35e4f364d88dc2cdcce1d1f0be (patch)
tree463196bdcc1e31af9bb1363ae4a232830b8eae9c /plugins/mod_s2s/mod_s2s.lua
parent947c10c689ea46a5ceff8c577bffb88b8371064a (diff)
downloadprosody-129b463d8141be35e4f364d88dc2cdcce1d1f0be.tar.gz
prosody-129b463d8141be35e4f364d88dc2cdcce1d1f0be.zip
mod_s2s: Fix mistake in 28755107c2f4
Diffstat (limited to 'plugins/mod_s2s/mod_s2s.lua')
-rw-r--r--plugins/mod_s2s/mod_s2s.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua
index a3eec9f9..8663702f 100644
--- a/plugins/mod_s2s/mod_s2s.lua
+++ b/plugins/mod_s2s/mod_s2s.lua
@@ -516,6 +516,7 @@ local function session_close(session, reason, remote_reason, bounce_reason)
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