mirror of
https://github.com/fw876/helloworld.git
synced 2026-12-06 00:01:06 +00:00
luci-app-ssr-plus: fix parsing filter keyword
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user