# HG changeset patch # User Kim Alvefur # Date 1363998952 -3600 # Node ID 676e3cf0e5657055bc7b1586b3475a71f8c5e01a # Parent 706206e191e87406f5c92e2058d660e31e466d3e mod_roster: Remove unused variable diff -r 706206e191e8 -r 676e3cf0e565 plugins/mod_roster.lua --- a/plugins/mod_roster.lua Sat Mar 23 01:27:38 2013 +0100 +++ b/plugins/mod_roster.lua Sat Mar 23 01:35:52 2013 +0100 @@ -69,7 +69,6 @@ and query.tags[1].attr.jid ~= "pending" then local item = query.tags[1]; local from_node, from_host = jid_split(stanza.attr.from); - local from_bare = from_node and (from_node.."@"..from_host) or from_host; -- bare JID local jid = jid_prep(item.attr.jid); local node, host, resource = jid_split(jid); if not resource and host then