Fixed use of incorrect Contains method

This commit is contained in:
Deantwo 2020-07-21 14:17:07 +02:00 committed by GitHub
parent d2ed993a60
commit 53281322d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -647,7 +647,7 @@ namespace AsterNET
{
string name = line.Substring(0, delimiterIndex).ToLower(CultureInfo).Trim();
string val = line.Substring(delimiterIndex + 1).Trim();
if (list.ContainsKey(name))
if (list.Contains(name))
list[name] += Environment.NewLine + val;
else if (val == "<null>")
list[name] = null;