Skip to content

Commit

Permalink
Handle IDs correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
PintTheDragon committed Feb 13, 2022
1 parent 4d190b8 commit ea4e463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SCPStats/Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ internal static string HmacSha256Digest(string secret, string message)

internal static string HandleId(string id)
{
return id?.Split('@')[0];
return id?.Split('@')[0].Trim().ToLower();
}

internal static string HandleId(Player player)
Expand Down

0 comments on commit ea4e463

Please sign in to comment.