Skip to content
Permalink
Browse files

Eliminate one unneeded ToLower()

  • Loading branch information...
UnknownShadow200 committed Aug 3, 2017
1 parent d4cfe05 commit 48404d8f4716af38275802f58458178e954ca114
Showing with 1 addition and 1 deletion.
  1. +1 −1 fCraft/Commands/InfoCommands.cs
@@ -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;

0 comments on commit 48404d8

Please sign in to comment.
You can’t perform that action at this time.