Diff

plugins/mod_scansion_record.lua @ 9371:ac17b0aa3dfb

mod_scansion_record: Use already composed identity string in log message
author Kim Alvefur <zash@zash.se>
date Sat, 22 Sep 2018 19:28:52 +0200
parent 9370:7872abb9fc1f
child 9372:0e685b7ec039
line wrap: on
line diff
--- 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);