Software /
code /
prosody-modules
Changeset
5018:ed2a9a4c4f01
mod_sasl2: Return status from event handlers
Without this, clients would get "unsupported-stanza-type" even on successfully
handled responses.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 28 Aug 2022 11:11:50 +0100 |
parents | 5017:96e83b4a93f7 |
children | 5019:c83ce822f105 |
files | mod_sasl2/mod_sasl2.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_sasl2/mod_sasl2.lua Sat Aug 27 16:36:22 2022 +0200 +++ b/mod_sasl2/mod_sasl2.lua Sun Aug 28 11:11:50 2022 +0100 @@ -65,7 +65,7 @@ end end - module:fire_event("sasl2/"..session.base_type.."/"..status, { + return module:fire_event("sasl2/"..session.base_type.."/"..status, { session = session, message = ret; error = err;