Software /
code /
prosody-modules
Diff
mod_smacks/mod_smacks.lua @ 4463:8b8246031a5e
mod_smacks: Correct field name for session
Fixes another traceback.
I did point out that I was breaking everything.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 23 Feb 2021 03:22:33 +0100 |
parent | 4458:5234d0c8883d |
child | 4536:8bdb9805bb73 |
line wrap: on
line diff
--- a/mod_smacks/mod_smacks.lua Mon Feb 22 16:08:55 2021 +0100 +++ b/mod_smacks/mod_smacks.lua Tue Feb 23 03:22:33 2021 +0100 @@ -648,7 +648,7 @@ end); module:hook("csi-flushing", function (event) - if event.origin.smacks then + if event.session.smacks then request_ack_if_needed(event.session, true, "csi-active", nil); end end);