Software /
code /
prosody
Diff
plugins/mod_roster.lua @ 5372:676e3cf0e565
mod_roster: Remove unused variable
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 23 Mar 2013 01:35:52 +0100 |
parent | 5099:39eb688e106a |
child | 5776:bd0ff8ae98a8 |
line wrap: on
line diff
--- 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