Changeset

5067:54c6b4595f86

mod_sasl2: Forward stream attributes into sub-event
author Matthew Wild <mwild1@gmail.com>
date Fri, 14 Oct 2022 15:43:22 +0100
parents 5066:74145faceba2
children 5068:20e635eb4cdc
files mod_sasl2/mod_sasl2.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_sasl2/mod_sasl2.lua	Fri Oct 14 14:44:27 2022 +0100
+++ b/mod_sasl2/mod_sasl2.lua	Fri Oct 14 15:43:22 2022 +0100
@@ -95,7 +95,7 @@
 	features:add_direct_child(mechanisms);
 
 	local inline = st.stanza("inline");
-	module:fire_event("advertise-sasl-features", { origin = origin, features = inline });
+	module:fire_event("advertise-sasl-features", { origin = origin, features = inline, stream = event.stream });
 	mechanisms:add_direct_child(inline);
 end, 1);