Changeset

91:7816f24d0fdc

clix.roster: Switch order of name and jid in the list command
author Kim Alvefur <zash@zash.se>
date Sun, 29 Jul 2012 23:58:39 +0200
parents 90:3115bd81b9de
children 92:a629b953780c
files clix/roster.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/clix/roster.lua	Wed Jul 04 07:51:35 2012 +0200
+++ b/clix/roster.lua	Sun Jul 29 23:58:39 2012 +0200
@@ -71,7 +71,7 @@
 					local name, host = item.name or split_jid(jid);
 					local groups = table.concat(item.groups or {}, ", ");
 					if not param or ( (name and name:match(param)) or jid:match(param) ) then
-						print(name or host, jid, groups);
+						print(jid, name or host, groups);
 					end
 				end
 			end;