aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-09-22 19:28:52 +0200
committerKim Alvefur <zash@zash.se>2018-09-22 19:28:52 +0200
commit4fb620b7115bb13c3e892b8ac8ec8035ef262134 (patch)
tree0c76ce15b275dce486e2364bd4ed1de77b9e7af5 /plugins
parent7edee4c411d5a11c0df2061da94f252690caf01b (diff)
downloadprosody-4fb620b7115bb13c3e892b8ac8ec8035ef262134.tar.gz
prosody-4fb620b7115bb13c3e892b8ac8ec8035ef262134.zip
mod_scansion_record: Use already composed identity string in log message
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_scansion_record.lua2
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);