Software /
code /
prosody
Comparison
plugins/mod_csi.lua @ 9652:a58b48268ecd
Merge 0.11->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 27 Nov 2018 21:18:19 +0100 |
parent | 9651:989cf872d5c0 |
child | 9653:91856829f18b |
comparison
equal
deleted
inserted
replaced
9647:0f43b901c854 | 9652:a58b48268ecd |
---|---|
9 end); | 9 end); |
10 | 10 |
11 function refire_event(name) | 11 function refire_event(name) |
12 return function (event) | 12 return function (event) |
13 if event.origin.username then | 13 if event.origin.username then |
14 session.state = event.stanza.name; | |
14 module:fire_event(name, event); | 15 module:fire_event(name, event); |
15 return true; | 16 return true; |
16 end | 17 end |
17 end; | 18 end; |
18 end | 19 end |