From e9ea93f57f8c180195719d77a7b67858b31ea637 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 22 Sep 2018 14:00:11 +0200 Subject: mod_scansion_record: Record session connecting --- plugins/mod_scansion_record.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/mod_scansion_record.lua') 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); -- cgit v1.2.3