Allow comma postfixes in IRC

This commit is contained in:
Cyberboss
2017-06-29 10:02:05 -04:00
parent d2fc735c35
commit cb2ce167a1
+1 -1
View File
@@ -133,7 +133,7 @@ namespace TGServerService
var splits = new List<string>(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;