aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commit1db5cd0ec49212378f1a4a9fe0da21fcc92626b6 (patch)
treeb96e53c0a814ce1127aa8411471de8c630dfb187 /plugins
parent59c86a104ce5e4a3095dace97fe6a2635fadd874 (diff)
downloadprosody-1db5cd0ec49212378f1a4a9fe0da21fcc92626b6.tar.gz
prosody-1db5cd0ec49212378f1a4a9fe0da21fcc92626b6.zip
mod_roster: Remove unused variable [luacheck]
Diffstat (limited to 'plugins')
-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