Mercurial > prosody-modules
comparison mod_sasl2_sm/mod_sasl2_sm.lua @ 5035:baebe7452903
mod_sasl2_sm: Fix event field name
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 03 Sep 2022 18:11:25 +0100 |
parents | f7eaf73b8f30 |
children | 8a8100fff580 |
comparison
equal
deleted
inserted
replaced
5034:f7eaf73b8f30 | 5035:baebe7452903 |
---|---|
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 }); |
76 end | 76 end |
77 event.bind_result:add_child(sm_result); | 77 event.result:add_child(sm_result); |
78 end, 100); | 78 end, 100); |
79 | 79 |
80 -- Finish and/or clean up after SASL 2 completed | 80 -- Finish and/or clean up after SASL 2 completed |
81 | 81 |
82 module:hook("sasl2/c2s/success", function (event) | 82 module:hook("sasl2/c2s/success", function (event) |