Software /
code /
prosody
Comparison
plugins/mod_scansion_record.lua @ 9350:07fd880905a3
mod_scansion_record: Remove extra "
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 22 Sep 2018 13:55:14 +0200 |
parent | 9349:7e16e4ecd090 |
child | 9351:b37f131d68c2 |
comparison
equal
deleted
inserted
replaced
9349:7e16e4ecd090 | 9350:07fd880905a3 |
---|---|
43 device = devices[user.n_devices] or ("device"..id.short()); | 43 device = devices[user.n_devices] or ("device"..id.short()); |
44 user.devices[event.resource] = device; | 44 user.devices[event.resource] = device; |
45 end | 45 end |
46 session.scansion_character = user.character; | 46 session.scansion_character = user.character; |
47 session.scansion_device = device; | 47 session.scansion_device = device; |
48 session.scansion_id = user.character..(device ~= "" and "'s "..device" or device); | 48 session.scansion_id = user.character..(device ~= "" and "'s "..device or device); |
49 | 49 |
50 full_jids[session.full_jid] = session.scansion_id; | 50 full_jids[session.full_jid] = session.scansion_id; |
51 | 51 |
52 module:log("warn", "Connected: %s's %s", user.character, device); | 52 module:log("warn", "Connected: %s's %s", user.character, device); |
53 | 53 |