Software /
code /
prosody-modules
Diff
mod_sasl2/mod_sasl2.lua @ 5044:f64d834ba744
mod_sasl2, mod_sasl2_bind2: rename event.session -> .origin for consistency
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 21 Sep 2022 10:32:45 +0100 |
parent | 5042:166fd192f39c |
child | 5048:3697d19d5fd9 |
line wrap: on
line diff
--- a/mod_sasl2/mod_sasl2.lua Wed Sep 21 10:31:50 2022 +0100 +++ b/mod_sasl2/mod_sasl2.lua Wed Sep 21 10:32:45 2022 +0100 @@ -95,7 +95,7 @@ features:add_direct_child(mechanisms); local inline = st.stanza("inline"); - module:fire_event("advertise-sasl-features", { session = origin, features = inline }); + module:fire_event("advertise-sasl-features", { origin = origin, features = inline }); mechanisms:add_direct_child(inline); end, 1);