aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_csi_simple.lua
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
commit0e49129a8b34be7401ec80e5a2e533cf56ce05be (patch)
tree086fad044648b0fc9d32a98cc8e265e5990e0c6b /plugins/mod_csi_simple.lua
parentdc1690029d807c815be87f0f94de383decef52b0 (diff)
downloadprosody-0e49129a8b34be7401ec80e5a2e533cf56ce05be.tar.gz
prosody-0e49129a8b34be7401ec80e5a2e533cf56ce05be.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.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