From 16092f69462026a6607451c6922db304c4cf4dc6 Mon Sep 17 00:00:00 2001 From: Tindy X <49061470+tindy2013@users.noreply.github.com> Date: Sat, 15 Feb 2020 21:33:14 +0800 Subject: [PATCH] Fix a bug that will cause Surge Node List unable to be generated --- src/subexport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/subexport.cpp b/src/subexport.cpp index e03bbad..fbaeed9 100644 --- a/src/subexport.cpp +++ b/src/subexport.cpp @@ -818,7 +818,7 @@ std::string netchToSurge(std::vector &nodes, std::string &base_conf, s string_array vArray, remarks_list, filtered_nodelist; ini.store_any_line = true; - if(ini.Parse(base_conf) != 0) + if(ini.Parse(base_conf) != 0 && !ext.nodelist) return std::string(); ini.SetCurrentSection("Proxy");