Skip to content

Commit

Permalink
This is why you build test
Browse files Browse the repository at this point in the history
  • Loading branch information
FeTetra committed Nov 9, 2024
1 parent 512b11c commit 3c62347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ProjectLighthouse/Helpers/CensorHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static string FilterMessage(string message)
for (int i = blacklistTermIndices.Count - 1; i >= 0; i--)
{
// Variable names need changed, but this should work, as messy as it is...
if (!blacklistTermIndex >= whitelistTermIndex && !blacklistTermIndex + blacklistTerm.Length <= whitelistTermIndex + whitelistTerm.Length)
if (blacklistTermIndex !>= whitelistTermIndex && blacklistTermIndex + blacklistTerm.Length !<= whitelistTermIndex + whitelistTerm.Length)
Censor(blacklistTermIndices[i], blacklistTerm.Length, stringBuilder);
}
}
Expand Down

0 comments on commit 3c62347

Please sign in to comment.