From 4fb620b7115bb13c3e892b8ac8ec8035ef262134 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 22 Sep 2018 19:28:52 +0200 Subject: mod_scansion_record: Use already composed identity string in log message --- plugins/mod_scansion_record.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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); -- cgit v1.2.3