mod_sasl2_sm/mod_sasl2_sm.lua
changeset 5031 8b9ab351dd78
parent 5030 e3248d025d34
child 5034 3e79876d135b
--- a/mod_sasl2_sm/mod_sasl2_sm.lua	Mon Aug 29 17:12:16 2022 +0100
+++ b/mod_sasl2_sm/mod_sasl2_sm.lua	Mon Aug 29 17:41:16 2022 +0100
@@ -18,7 +18,7 @@
 
 module:hook_tag(xmlns_sasl2, "authenticate", function (session, auth)
 	-- Cache action for future processing (after auth success)
-	session.sasl2_sm_action = auth:get_child_with_namespace(xmlns_sm);
+	session.sasl2_sm_action = auth:child_with_ns(xmlns_sm);
 end, 100);
 
 module:hook("sasl2/c2s/success", function (event)