diff options
author | Kim Alvefur <zash@zash.se> | 2018-09-22 17:24:28 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-09-22 17:24:28 +0200 |
commit | 71a7d72763473c19426f971465d6568007cca261 (patch) | |
tree | de55578b4be7d6ba3defc334f55d9d602fbdedd9 /plugins/mod_scansion_record.lua | |
parent | c2de8c46fdbddd10dce72ec14f0990522f09b540 (diff) | |
download | prosody-71a7d72763473c19426f971465d6568007cca261.tar.gz prosody-71a7d72763473c19426f971465d6568007cca261.zip |
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.
Diffstat (limited to 'plugins/mod_scansion_record.lua')
-rw-r--r-- | plugins/mod_scansion_record.lua | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/mod_scansion_record.lua b/plugins/mod_scansion_record.lua index 3e2644e0..0ee22778 100644 --- a/plugins/mod_scansion_record.lua +++ b/plugins/mod_scansion_record.lua @@ -2,8 +2,6 @@ local names = { "Romeo", "Juliet", "Mercutio", "Tybalt", "Benvolio" }; 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 @@ module:hook("resource-bind", function (event) 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"); |