# HG changeset patch # User Kim Alvefur # Date 1391874000 -3600 # Node ID 896a25ed6b1bdc2a6bc2cb9d3a80ffd70d7f86f3 # Parent 3456a6088dc6588df3492ed4ec1ee73c6e7578fa clix.roster: Turn off pattern matching in the list command (thanks mva) 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