mod_sasl2_sm: Use a stanza method that actually exists
authorMatthew Wild <mwild1@gmail.com>
Mon, 29 Aug 2022 17:41:16 +0100
changeset 5031 8b9ab351dd78
parent 5030 e3248d025d34
child 5032 1f2d2bfd29dd
mod_sasl2_sm: Use a stanza method that actually exists
mod_sasl2_sm/mod_sasl2_sm.lua
--- 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)