Software /
code /
clix
Changeset
56:4b5f9a50ae68
clix.roster: Fix nickname fallback
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 15 Mar 2011 18:29:24 +0100 |
parents | 55:a3f86df6f359 |
children | 57:830baad98c9a |
files | clix/roster.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/clix/roster.lua Tue Mar 15 14:14:18 2011 +0100 +++ b/clix/roster.lua Tue Mar 15 18:29:24 2011 +0100 @@ -63,7 +63,7 @@ end; list = function() for jid, item in pairs(conn.roster.items) do - local name = item.name, host or split_jid(jid); + local name, host = item.name or split_jid(jid); print(name or host, jid, table.concat(item.groups or {}, ", ")); end end;