Skip to content

Commit

Permalink
Fix lowercase mods leading to bad caching / wrong difficulty-rating r…
Browse files Browse the repository at this point in the history
…equest
  • Loading branch information
minisbett committed Jan 2, 2024
1 parent 020c328 commit c363fc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions huisbot/Modules/Huis/Simulate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public async Task HandleAsync(
[Summary("mods", "The mods used in the score.")] string? mods = null)
{
await DeferAsync();
mods = mods?.ToUpper();

// Make sure the user is an onion.
if (!IsOnion)
Expand Down
2 changes: 1 addition & 1 deletion huisbot/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class Program
/// <summary>
/// The version of the application.
/// </summary>
public const string VERSION = "1.8.0";
public const string VERSION = "1.8.1";

/// <summary>
/// The startup time of the application.
Expand Down

0 comments on commit c363fc4

Please sign in to comment.