disable regex in ignorelist - no longer need to escape things like %-
This commit is contained in:
+1
-1
@@ -66,7 +66,7 @@ filter.notignored = function(unit)
|
||||
return true
|
||||
end
|
||||
for _, str in ipairs(Cursive.db.profile.ignorelist) do
|
||||
if string.find(string.lower(unitName), string.lower(str)) then
|
||||
if string.find(string.lower(unitName), string.lower(str), nil, false) then
|
||||
return false
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user