aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commitd43d603b11bbf8e30f5a89c88870e9ea160f8c46 (patch)
tree1771a066186bf20e3719715405ba3c64eb95324d /plugins
parent10747c00ae94aeeda89c3aa9c2ba5ad0372cd746 (diff)
downloadprosody-d43d603b11bbf8e30f5a89c88870e9ea160f8c46.tar.gz
prosody-d43d603b11bbf8e30f5a89c88870e9ea160f8c46.zip
mod_scansion_record: Record session connecting
Diffstat (limited to 'plugins')
-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);