diff --git a/src/generator/config/subexport.cpp b/src/generator/config/subexport.cpp index 51080c2..2c5d3e2 100644 --- a/src/generator/config/subexport.cpp +++ b/src/generator/config/subexport.cpp @@ -1768,6 +1768,7 @@ std::string proxyToLoon(std::vector &nodes, const std::string &base_conf, string_array remarks_list; ini.store_any_line = true; + ini.add_direct_save_section("Plugin"); if(ini.parse(base_conf) != INIREADER_EXCEPTION_NONE && !ext.nodelist) { writeLog(0, "Loon base loader failed with error: " + ini.get_last_error(), LOG_LEVEL_ERROR); diff --git a/src/handler/settings.cpp b/src/handler/settings.cpp index 5f872a6..4052aa5 100644 --- a/src/handler/settings.cpp +++ b/src/handler/settings.cpp @@ -718,6 +718,7 @@ void readTOMLConf(toml::value &root) auto tasks = toml::find_or>(root, "tasks", {}); importItems(tasks, "tasks", false); global.cronTasks = toml::get(toml::value(tasks)); + refresh_schedule(); const auto §ion_server = toml::find(root, "server");