equal
deleted
inserted
replaced
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 |