From 53281322d4d83c24e4e9d183afddd503e659c890 Mon Sep 17 00:00:00 2001 From: Deantwo <2676134+Deantwo@users.noreply.github.com> Date: Tue, 21 Jul 2020 14:17:07 +0200 Subject: [PATCH] Fixed use of incorrect Contains method --- Asterisk.2013/Asterisk.NET/Helper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Asterisk.2013/Asterisk.NET/Helper.cs b/Asterisk.2013/Asterisk.NET/Helper.cs index 56f5dd4..61125ed 100644 --- a/Asterisk.2013/Asterisk.NET/Helper.cs +++ b/Asterisk.2013/Asterisk.NET/Helper.cs @@ -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 == "") list[name] = null;