Skip to content

Commit

Permalink
Add ToLower() back
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon311 committed Oct 16, 2016
1 parent b16b9e7 commit 60a8362
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TShockAPI/Commands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -644,9 +644,9 @@ public static bool HandleCommand(TSPlayer player, string text)
return true;
}
else if (index < 0)
cmdName = cmdText;
cmdName = cmdText.ToLower();
else
cmdName = cmdText.Substring(0, index);
cmdName = cmdText.Substring(0, index).ToLower();

List<string> args;
if (index < 0)
Expand Down

0 comments on commit 60a8362

Please sign in to comment.