Fix skipping proxying of members with no tags

This commit is contained in:
Ske 2019-06-21 13:53:19 +02:00
parent 6e7950722d
commit 93fff14053

View File

@ -51,7 +51,7 @@ namespace PluralKit.Bot
var ordered = potentials.OrderByDescending(p => p.Member.ProxyString.Length);
foreach (var potential in ordered)
{
if (potential.Member.Prefix == null && potential.Member.Suffix != null) continue;
if (potential.Member.Prefix == null && potential.Member.Suffix == null) continue;
var prefix = potential.Member.Prefix ?? "";
var suffix = potential.Member.Suffix ?? "";