mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_csi_simple: Use the same event name when firing as when hooking (fixes #1245)
This commit is contained in:
parent
38498588b4
commit
ad38cc8fbe
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue