Diff

mod_sasl2_sm/mod_sasl2_sm.lua @ 5060:bc491065c221

mod_sasl2_bind2, mod_sasl2_sm: Remove bind2 <features/> wrapper element This was dropped from the spec. It's more consistent with SASL2.
author Matthew Wild <mwild1@gmail.com>
date Tue, 27 Sep 2022 18:23:42 +0100
parent 5039:c0d243b27e64
child 5094:c92c87daa09e
line wrap: on
line diff
--- a/mod_sasl2_sm/mod_sasl2_sm.lua	Sat Sep 24 09:26:26 2022 +0100
+++ b/mod_sasl2_sm/mod_sasl2_sm.lua	Tue Sep 27 18:23:42 2022 +0100
@@ -57,7 +57,7 @@
 end);
 
 module:hook("enable-bind-features", function (event)
-	local sm_enable = event.features:get_child("enable", xmlns_sm);
+	local sm_enable = event.request:get_child("enable", xmlns_sm);
 	if not sm_enable then return; end
 
 	local sm_result;