diff -r 3456a6088dc6 -r 896a25ed6b1b clix/roster.lua --- a/clix/roster.lua Tue Oct 08 14:54:05 2013 +0200 +++ b/clix/roster.lua Sat Feb 08 16:40:00 2014 +0100 @@ -70,7 +70,7 @@ for jid, item in pairs(conn.roster.items) do 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 + if not param or ( (name and name:find(param, 1, true)) or jid:find(param, 1, true) ) then print(jid, name or host, groups); end end