aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-11-25 14:47:36 +0100
committerKim Alvefur <zash@zash.se>2018-11-25 14:47:36 +0100
commitad38cc8fbefecf882bb2c2abbee1f410760d02a6 (patch)
tree086fad044648b0fc9d32a98cc8e265e5990e0c6b /plugins
parent38498588b43c93cbc2bc5de9f21cf8975b8169a1 (diff)
downloadprosody-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')
-rw-r--r--plugins/mod_csi_simple.lua2
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