Fix not processing duplicated node remarks in Surge Node List

This commit is contained in:
Tindy X committed 2020-04-01 20:24:18 +08:00
1 parent 571ff14b13
commit 58349a086d
1 file changed
+1 -1
+1 -1
View File
@@ -1193,8 +1193,8 @@ std::string netchToSurge(std::vector<nodeInfo> &nodes, std::string &base_conf, s
{ {
ini.Set("{NONAME}", remark + " = " + proxy); ini.Set("{NONAME}", remark + " = " + proxy);
nodelist.emplace_back(x); nodelist.emplace_back(x);
remarks_list.emplace_back(remark);
} }
remarks_list.emplace_back(remark);
} }
if(ext.nodelist) if(ext.nodelist)