Software /
code /
prosody
Changeset
9644:e31547ab1ca2 0.11
mod_csi_simple: Use the same event name when firing as when hooking (fixes #1245)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 25 Nov 2018 14:47:36 +0100 |
parents | 9640:28d4b9d5a432 |
children | 9645:cc642c9c5ad5 |
files | plugins/mod_csi_simple.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_csi_simple.lua Sun Nov 25 13:04:37 2018 +0100 +++ b/plugins/mod_csi_simple.lua Sun Nov 25 14:47:36 2018 +0100 @@ -81,7 +81,7 @@ pump:pause(); session.pump = pump; function session.send(stanza) - if module:fire_event("csi-stanza-is-important", { stanza = stanza, session = session }) then + if module:fire_event("csi-is-stanza-important", { stanza = stanza, session = session }) then pump:flush(); send(stanza); else