Software /
code /
prosody
Changeset
9352:0fdb70ad9fcc
mod_scansion_record: Record session connecting
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 22 Sep 2018 14:00:11 +0200 |
parents | 9351:b37f131d68c2 |
children | 9353:02ae04efab0f |
files | plugins/mod_scansion_record.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_scansion_record.lua Sat Sep 22 13:58:23 2018 +0200 +++ b/plugins/mod_scansion_record.lua Sat Sep 22 14:00:11 2018 +0200 @@ -55,6 +55,7 @@ full_jids[session.full_jid] = session.scansion_id; module:log("warn", "Connected: %s's %s", user.character, device); + record_event(session, "connects"); filters.add_filter(session, "stanzas/in", record_stanza_in); filters.add_filter(session, "stanzas/out", record_stanza_out);