mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 00:22:40 +01:00
Merge pull request #90 from Cyberboss/discordIDqol
Setting Discord IDs now auto filters some artifacts
This commit is contained in:
@@ -330,6 +330,7 @@ namespace TGServiceInterface
|
||||
}
|
||||
protected override string SanitizeChannelName(string working)
|
||||
{
|
||||
working = working.Replace("<", "").Replace(">", "").Replace("&", ""); //filter out some stuff that can come in the copypasta
|
||||
try
|
||||
{
|
||||
Convert.ToUInt64(working);
|
||||
|
||||
Reference in New Issue
Block a user