set Command to upper case
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Ben Harris 2024-04-19 15:22:53 -04:00
parent ec87e02f29
commit a1df2ed6b4
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ namespace IRCTokens
public Line(string command, params string[] parameters)
{
Command = command;
Command = command.ToUpperInvariant();
Params = parameters.ToList();
}
@ -83,7 +83,7 @@ namespace IRCTokens
if (Params.Count > 0)
{
Command = Params[0].ToUpper(CultureInfo.InvariantCulture);
Command = Params[0].ToUpperInvariant();
Params.RemoveAt(0);
}