Skip to content

Commit 82a5bdf

Browse files
committed
Fix cannot specify separators in GetStringListValue method
1 parent 66fe24b commit 82a5bdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ClientCore/Extensions/IniFileExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public IniSection GetOrAddSection(string sectionName)
3535

3636
public string[] GetStringListValue(string section, string key, string defaultValue, char[] separators = null)
3737
=> (iniFile.GetSection(section)?.GetStringValue(key, defaultValue) ?? defaultValue)
38-
.SplitWithCleanup();
38+
.SplitWithCleanup(separators);
3939

4040
}
4141

0 commit comments

Comments
 (0)