luci-app-ssr-plus: fix parsing filter keyword

This commit is contained in:
MyFlavor authored and GitHub committed 2021-12-16 01:09:00 +08:00
1 parent 0a364542cf
commit 8a30e893c4
1 file changed
+2 -2
@@ -441,7 +441,7 @@ local function check_filer(result)
-- 检查是否存在过滤关键词
for i, v in pairs(filter_word) do
if result.alias:find(v) then
if tostring(result.alias):find(v) then
filter_result = true
end
end
@@ -449,7 +449,7 @@ local function check_filer(result)
-- 检查是否打开了保留关键词检查,并且进行过滤
if check_save == true then
for i, v in pairs(save_word) do
if result.alias:find(v) then
if tostring(result.alias):find(v) then
save_result = false
end
end