diff --git a/lib/shifty.lua b/lib/shifty.lua index 3bbf48d..a5103fe 100644 --- a/lib/shifty.lua +++ b/lib/shifty.lua @@ -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