# HG changeset patch # User Kim Alvefur # Date 1537637332 -7200 # Node ID ac17b0aa3dfb196c35ca61e29c8bae61b260ba11 # Parent 7872abb9fc1f4caba3f3cee7fdb1309c91cc44c4 mod_scansion_record: Use already composed identity string in log message diff -r 7872abb9fc1f -r ac17b0aa3dfb plugins/mod_scansion_record.lua --- a/plugins/mod_scansion_record.lua Sat Sep 22 19:04:12 2018 +0200 +++ b/plugins/mod_scansion_record.lua Sat Sep 22 19:28:52 2018 +0200 @@ -80,7 +80,7 @@ password = "password", }); - module:log("warn", "Connected: %s's %s", user.character, device); + module:log("warn", "Connected: %s", session.scansion_id); record_event(session, "connects"); filters.add_filter(session, "stanzas/in", record_stanza_in);