mirror of
https://github.com/nzbget/nzbget.git
synced 2026-08-07 07:52:06 -04:00
#319: auto migration of old script settings
This commit is contained in:
1 parent
9a92896678
commit
ae7719e948
3 files changed
+84
-7
No files matched your search
@@ -81,7 +81,7 @@ bool ScriptConfig::LoadConfig(Options::OptEntries* optEntries)
|
||||
|
||||
CString optname;
|
||||
CString optvalue;
|
||||
if (g_Options->SplitOptionString(buf, optname, optvalue))
|
||||
if (Options::SplitOptionString(buf, optname, optvalue))
|
||||
{
|
||||
optEntries->emplace_back(optname, optvalue);
|
||||
}
|
||||
@@ -89,6 +89,8 @@ bool ScriptConfig::LoadConfig(Options::OptEntries* optEntries)
|
||||
|
||||
infile.Close();
|
||||
|
||||
Options::ConvertOldOptions(optEntries);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user