From cb2ce167a1409553b4dad3e5b0e1b8e12e87257b Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Thu, 29 Jun 2017 10:02:05 -0400 Subject: [PATCH] Allow comma postfixes in IRC --- TGServerService/IRC.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;