Software /
code /
prosody
Changeset
5372:676e3cf0e565
mod_roster: Remove unused variable
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 23 Mar 2013 01:35:52 +0100 |
parents | 5371:706206e191e8 |
children | 5373:9e6d6cdf0449 |
files | plugins/mod_roster.lua |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
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