Sat, 08 Feb 2014 16:40:00 +0100
clix.roster: Turn off pattern matching in the list command (thanks mva)
clix/roster.lua | file | annotate | diff | comparison | revisions |
--- 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