diff --git a/TGServerService/IRC.cs b/TGServerService/IRC.cs index 3c651e79f3..3341798ca6 100644 --- a/TGServerService/IRC.cs +++ b/TGServerService/IRC.cs @@ -133,7 +133,7 @@ namespace TGServerService var splits = new List(formattedMessage.Split(' ')); var test = splits[0]; - if (test.Length > 1 && test[test.Length - 1] == ':') + if (test.Length > 1 && (test[test.Length - 1] == ':' || test[test.Length - 1] == ',')) test = test.Substring(0, test.Length - 1); if (test.ToLower() != irc.Nickname.ToLower()) return;