# HG changeset patch # User Kim Alvefur <zash@zash.se> # Date 1537629868 -7200 # Node ID 577c3a7f50459fe1123074ed99f83195ecb1b85f # Parent 9472b4044fc647d65c78d534a7da40de2df1bcfe mod_scansion_record: Remove unused JID mapping table [luacheck] I have no idea what Matthew meant to use this for. Easy enough to put back. diff -r 9472b4044fc6 -r 577c3a7f5045 plugins/mod_scansion_record.lua --- a/plugins/mod_scansion_record.lua Sat Sep 22 15:14:25 2018 +0200 +++ b/plugins/mod_scansion_record.lua Sat Sep 22 17:24:28 2018 +0200 @@ -2,8 +2,6 @@ local devices = { "", "phone", "laptop", "tablet", "toaster", "fridge", "shoe" }; local users = {}; -local full_jids = {}; - local filters = require "util.filters"; local id = require "util.id"; local dt = require "util.datetime"; @@ -69,8 +67,6 @@ session.scansion_device = device; session.scansion_id = user.character..(device ~= "" and "'s "..device or device); - full_jids[session.full_jid] = session.scansion_id; - module:log("warn", "Connected: %s's %s", user.character, device); record_event(session, "connects");