mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-25 22:17:51 +01:00
Allow comma postfixes in IRC
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user