aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
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 abcbf749..c17a2c8d 100644
--- a/plugins/mod_scansion_record.lua
+++ b/plugins/mod_scansion_record.lua
@@ -75,7 +75,7 @@ module:hook("resource-bind", function (event)
session.scansion_device = device;
session.scansion_id = user.character..(device ~= "" and "'s "..device or device);
- record_object("Client", user.character, {
+ record_object("Client", session.scansion_id, {
jid = session.full_jid,
password = "password",
});