comparison mod_sasl2_sm/mod_sasl2_sm.lua @ 5034:f7eaf73b8f30

mod_sasl2_sm: Fix typo
author Matthew Wild <mwild1@gmail.com>
date Sat, 03 Sep 2022 18:09:04 +0100
parents 3e79876d135b
children baebe7452903
comparison
equal deleted inserted replaced
5033:9afd98178011 5034:f7eaf73b8f30
65 if not enabled then 65 if not enabled then
66 sm_result = st.stanza("failed", { xmlns = xmlns_sm }) 66 sm_result = st.stanza("failed", { xmlns = xmlns_sm })
67 :add_error(err); 67 :add_error(err);
68 else 68 else
69 event.sasl2_sm_success = enabled; -- To be called after sending final SASL response 69 event.sasl2_sm_success = enabled; -- To be called after sending final SASL response
70 sm_result = st.stanze("enabled", { 70 sm_result = st.stanza("enabled", {
71 xmlns = xmlns_sm; 71 xmlns = xmlns_sm;
72 id = enabled.id; 72 id = enabled.id;
73 resume = enabled.id and "1" or nil; 73 resume = enabled.id and "1" or nil;
74 max = enabled.resume_max; 74 max = enabled.resume_max;
75 }); 75 });