Software /
code /
prosody-modules
Changeset
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 |
parents | 4462:4356088ad675 |
children | 4464:ea820de69265 |
files | mod_smacks/mod_smacks.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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);