This commit is contained in:
spiral
2021-09-26 22:50:08 -04:00
parent 0517c76abf
commit fb4aaad19f
5 changed files with 13 additions and 13 deletions

View File

@@ -40,8 +40,8 @@ namespace PluralKit.Bot
// Skip blank tags (shouldn't ever happen in practice)
if (tag.Prefix == null && tag.Suffix == null) continue;
if(tag.Prefix == "<" && prefixPattern.IsMatch(input)) continue;
if(tag.Suffix == ">" && suffixPattern.IsMatch(input)) continue;
if (tag.Prefix == "<" && prefixPattern.IsMatch(input)) continue;
if (tag.Suffix == ">" && suffixPattern.IsMatch(input)) continue;
// Can we match with these tags?
if (TryMatchTagsInner(input, tag, out result.Content))