shifty: be consistent when matching role

This commit is contained in:
Vincent Bernat 2019-02-26 02:39:38 +01:00
parent e1d4f9ae8a
commit 3d85ff9465

View file

@ -556,7 +556,7 @@ function match(c, startup)
matched = (cls and cls:find(w)) or
(inst and inst:find(w)) or
(name and name:find(w)) or
(role and role:find(w)) or
(role and (role == w)) or
(typ and typ:find(w))
if matched then
break