diff options
author | Kim Alvefur <zash@zash.se> | 2018-09-22 14:00:11 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-09-22 14:00:11 +0200 |
commit | e9ea93f57f8c180195719d77a7b67858b31ea637 (patch) | |
tree | 1771a066186bf20e3719715405ba3c64eb95324d /plugins/mod_scansion_record.lua | |
parent | 2f9231573f7d1da65dcff9adfd2942bdf2990be4 (diff) | |
download | prosody-e9ea93f57f8c180195719d77a7b67858b31ea637.tar.gz prosody-e9ea93f57f8c180195719d77a7b67858b31ea637.zip |
mod_scansion_record: Record session connecting
Diffstat (limited to 'plugins/mod_scansion_record.lua')
-rw-r--r-- | plugins/mod_scansion_record.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_scansion_record.lua b/plugins/mod_scansion_record.lua index 645ea89c..3eee26a4 100644 --- a/plugins/mod_scansion_record.lua +++ b/plugins/mod_scansion_record.lua @@ -55,6 +55,7 @@ module:hook("resource-bind", function (event) 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); |