Fix a bug which will cause directly-added rules to not appear in Clash subscriptions.

This commit is contained in:
Tindy X committed 2019-11-20 00:49:17 +08:00
1 parent 769706d0d0
commit a68363e108
2 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -83,7 +83,7 @@ std::string refreshRulesets()
if(rule_url.find("[]") == 0)
{
std::cerr<<"Adding rule '"<<rule_url.substr(2)<<","<<rule_group<<"'."<<std::endl;
rc = {rule_group, rule_url};
rc = {rule_group, "", rule_url};
ruleset_content_array.emplace_back(rc);
continue;
}