mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 06:17:55 +00:00
lint
This commit is contained in:
parent
0517c76abf
commit
fb4aaad19f
5 changed files with 13 additions and 13 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue