aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-09-22 17:24:28 +0200
committerKim Alvefur <zash@zash.se>2018-09-22 17:24:28 +0200
commit61d21c9a6538cbc3be605c5b18859eb0e3dbd947 (patch)
treede55578b4be7d6ba3defc334f55d9d602fbdedd9
parentc2107370249066e8a5f977c83605febd7f7d3a2b (diff)
downloadprosody-61d21c9a6538cbc3be605c5b18859eb0e3dbd947.tar.gz
prosody-61d21c9a6538cbc3be605c5b18859eb0e3dbd947.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.
-rw-r--r--plugins/mod_scansion_record.lua4
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");