Changeset

10482:c7864f970969

mod_s2s: Fix mistake in 28755107c2f4
author Kim Alvefur <zash@zash.se>
date Tue, 03 Dec 2019 17:29:43 +0100
parents 10481:7a3c04789d5c
children 10483:c12a24f0a385
files plugins/mod_s2s/mod_s2s.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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