diff options
author | Kim Alvefur <zash@zash.se> | 2018-09-22 19:28:52 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-09-22 19:28:52 +0200 |
commit | 6cd8afcac0a84ae509c167ca29a132773357e90f (patch) | |
tree | 0c76ce15b275dce486e2364bd4ed1de77b9e7af5 | |
parent | 72d1782966b8890bfc4eb1ff3886c2ca2fb764b0 (diff) | |
download | prosody-6cd8afcac0a84ae509c167ca29a132773357e90f.tar.gz prosody-6cd8afcac0a84ae509c167ca29a132773357e90f.zip |
mod_scansion_record: Use already composed identity string in log message
-rw-r--r-- | plugins/mod_scansion_record.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_scansion_record.lua b/plugins/mod_scansion_record.lua index c17a2c8d..ce533dac 100644 --- a/plugins/mod_scansion_record.lua +++ b/plugins/mod_scansion_record.lua @@ -80,7 +80,7 @@ module:hook("resource-bind", function (event) 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); |