Fix skipping proxying of members with no tags
This commit is contained in:
parent
6e7950722d
commit
93fff14053
@ -51,7 +51,7 @@ namespace PluralKit.Bot
|
|||||||
var ordered = potentials.OrderByDescending(p => p.Member.ProxyString.Length);
|
var ordered = potentials.OrderByDescending(p => p.Member.ProxyString.Length);
|
||||||
foreach (var potential in ordered)
|
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 prefix = potential.Member.Prefix ?? "";
|
||||||
var suffix = potential.Member.Suffix ?? "";
|
var suffix = potential.Member.Suffix ?? "";
|
||||||
|
Loading…
Reference in New Issue
Block a user