Skip to content

Commit

Permalink
Display the filters used in the output, under invisible text.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinematics committed May 9, 2017
1 parent 24b977b commit 4b5a867
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions NetTally.Core/Output/TallyOutput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ private void AddHeader(CancellationToken token)
sb.AppendLine($"[color=transparent]Username Filters: {VoteCounter.Instance.Quest.CustomUsernameFilters}[/color]");
}

if (VoteCounter.Instance.Quest.UseCustomPostFilters && !string.IsNullOrEmpty(VoteCounter.Instance.Quest.CustomPostFilters))
{
sb.AppendLine($"[color=transparent]Post Filters: {VoteCounter.Instance.Quest.CustomPostFilters}[/color]");
}

sb.AppendLine();
}
#endregion
Expand Down

0 comments on commit 4b5a867

Please sign in to comment.