Changeset

7782:7c899817ed3b

mod_roster: Remove unused variable [luacheck]
author Kim Alvefur <zash@zash.se>
date Tue, 13 Dec 2016 21:24:12 +0100
parents 7781:0d31d8052dd8
children 7783:f54c960240da
files plugins/mod_roster.lua
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_roster.lua	Tue Dec 13 21:23:48 2016 +0100
+++ b/plugins/mod_roster.lua	Tue Dec 13 21:24:12 2016 +0100
@@ -135,7 +135,6 @@
 	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