Add name escaping for '@'

This commit is contained in:
Noi 2020-08-25 00:16:29 -07:00
parent c77163cab3
commit a8624ce3ec

View file

@ -19,7 +19,7 @@ namespace BirthdayBot
var result = new StringBuilder();
foreach (var c in input)
{
if (c == '\\' || c == '_' || c == '~' || c == '*')
if (c == '\\' || c == '_' || c == '~' || c == '*' || c == '@')
{
result.Append('\\');
}