Skip to content

Commit

Permalink
Eliminate one unneeded ToLower()
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownShadow200 committed Aug 3, 2017
1 parent d4cfe05 commit 48404d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fCraft/Commands/InfoCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2134,7 +2134,7 @@ static void clpHandler(Player player, CommandReader cmd)
return player.Info;
}

if (name.CaselessEquals(player.Name.ToLower())) {
if (name.CaselessEquals(player.Name)) {
// own name given
player.LastUsedPlayerName = player.Name;
return player.Info;
Expand Down

0 comments on commit 48404d8

Please sign in to comment.