mirror of
https://github.com/NoiTheCat/BirthdayBot.git
synced 2024-11-24 01:14:12 +00:00
Add name escaping for '@'
This commit is contained in:
parent
c77163cab3
commit
a8624ce3ec
1 changed files with 1 additions and 1 deletions
|
@ -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('\\');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue