diff options
author | Kim Alvefur <zash@zash.se> | 2013-03-23 01:35:52 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2013-03-23 01:35:52 +0100 |
commit | 1faf33dfd581e6c75b6d2bf220caf65bcb98b2ba (patch) | |
tree | 4b62f7ebb657d1506ff14500836cda45d20b22f2 /plugins | |
parent | 91cc88b33807e5ed5978ebb8a89928f47f1618f5 (diff) | |
download | prosody-1faf33dfd581e6c75b6d2bf220caf65bcb98b2ba.tar.gz prosody-1faf33dfd581e6c75b6d2bf220caf65bcb98b2ba.zip |
mod_roster: Remove unused variable
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_roster.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/mod_roster.lua b/plugins/mod_roster.lua index 40d95be7..d530bb45 100644 --- a/plugins/mod_roster.lua +++ b/plugins/mod_roster.lua @@ -69,7 +69,6 @@ module:hook("iq/self/jabber:iq:roster:query", function(event) 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 |