Mercurial > prosody-modules
comparison mod_sasl2_bind2/mod_sasl2_bind2.lua @ 5033:9afd98178011
mod_sasl2_bind2: Fix event name
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 03 Sep 2022 17:58:03 +0100 |
parents | 71a84474fcfb |
children | 9ef5625d0d39 |
comparison
equal
deleted
inserted
replaced
5032:71a84474fcfb | 5033:9afd98178011 |
---|---|
51 -- Enable inline features requested by the client | 51 -- Enable inline features requested by the client |
52 | 52 |
53 local function enable_features(session, bind_request, bind_result) | 53 local function enable_features(session, bind_request, bind_result) |
54 local features = bind_request:get_child("features"); | 54 local features = bind_request:get_child("features"); |
55 if not features then return; end | 55 if not features then return; end |
56 module:fire_event("process-bind-features", { | 56 module:fire_event("enable-bind-features", { |
57 session = session; | 57 session = session; |
58 features = features; | 58 features = features; |
59 result = bind_result; | 59 result = bind_result; |
60 }); | 60 }); |
61 end | 61 end |