aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-09-22 14:00:11 +0200
committerKim Alvefur <zash@zash.se>2018-09-22 14:00:11 +0200
commite9ea93f57f8c180195719d77a7b67858b31ea637 (patch)
tree1771a066186bf20e3719715405ba3c64eb95324d
parent2f9231573f7d1da65dcff9adfd2942bdf2990be4 (diff)
downloadprosody-e9ea93f57f8c180195719d77a7b67858b31ea637.tar.gz
prosody-e9ea93f57f8c180195719d77a7b67858b31ea637.zip
mod_scansion_record: Record session connecting
-rw-r--r--plugins/mod_scansion_record.lua1
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);