diff options
author | Kim Alvefur <zash@zash.se> | 2018-11-25 14:47:36 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-11-25 14:47:36 +0100 |
commit | ad38cc8fbefecf882bb2c2abbee1f410760d02a6 (patch) | |
tree | 086fad044648b0fc9d32a98cc8e265e5990e0c6b /plugins/mod_csi_simple.lua | |
parent | 38498588b43c93cbc2bc5de9f21cf8975b8169a1 (diff) | |
download | prosody-ad38cc8fbefecf882bb2c2abbee1f410760d02a6.tar.gz prosody-ad38cc8fbefecf882bb2c2abbee1f410760d02a6.zip |
mod_csi_simple: Use the same event name when firing as when hooking (fixes #1245)
Diffstat (limited to 'plugins/mod_csi_simple.lua')
-rw-r--r-- | plugins/mod_csi_simple.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_csi_simple.lua b/plugins/mod_csi_simple.lua index c8151df5..f3df5734 100644 --- a/plugins/mod_csi_simple.lua +++ b/plugins/mod_csi_simple.lua @@ -81,7 +81,7 @@ module:hook("csi-client-inactive", function (event) 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 |