aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-12-13 21:24:12 +0100
committerKim Alvefur <zash@zash.se>2016-12-13 21:24:12 +0100
commit39fb6e81383f5706e50001ec96633914b29dcd28 (patch)
treeb96e53c0a814ce1127aa8411471de8c630dfb187
parentb62cac8db50cdf59811c3aedfc35bf89d41fbca0 (diff)
downloadprosody-39fb6e81383f5706e50001ec96633914b29dcd28.tar.gz
prosody-39fb6e81383f5706e50001ec96633914b29dcd28.zip
mod_roster: Remove unused variable [luacheck]
-rw-r--r--plugins/mod_roster.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/mod_roster.lua b/plugins/mod_roster.lua
index 6545e2be..443e5d4a 100644
--- a/plugins/mod_roster.lua
+++ b/plugins/mod_roster.lua
@@ -135,7 +135,6 @@ module:hook_global("user-deleted", function(event)
local username, host = event.username, event.host;
local origin = event.origin or prosody.hosts[host];
if host ~= module.host then return end
- local bare = username .. "@" .. host;
local roster = rm_load_roster(username, host);
for jid, item in pairs(roster) do
if jid then