Fix error when downloading subscription

This commit is contained in:
Tindy X committed 2023-11-09 21:54:40 +08:00
1 parent 26c3c42bc9
commit ed732a9f98
2 files changed
+43 -31

No files matched your search

+1 -1
View File
@@ -1003,7 +1003,7 @@ std::string surgeConfToClash(RESPONSE_CALLBACK_ARGS)
name = x.first;
content = x.second;
dummy_str_array = split(content, ",");
if(!dummy_str_array.size())
if(dummy_str_array.empty())
continue;
type = dummy_str_array[0];
if(!(type == "select" || type == "url-test" || type == "fallback" || type == "load-balance")) //remove unsupported types