changeset 5027:8b9ab351dd78

mod_sasl2_sm: Use a stanza method that actually exists
author Matthew Wild <mwild1@gmail.com>
date Mon, 29 Aug 2022 17:41:16 +0100
parents e3248d025d34
children 1f2d2bfd29dd
files mod_sasl2_sm/mod_sasl2_sm.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)