From c7b7ce1715d2de23db6b0e9a658180668c567d7f Mon Sep 17 00:00:00 2001 From: high Date: Sun, 7 Aug 2011 23:21:47 -0400 Subject: [PATCH] username is no longer lowered --- TShockAPI/Commands.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TShockAPI/Commands.cs b/TShockAPI/Commands.cs index c37d286f..4165a37f 100644 --- a/TShockAPI/Commands.cs +++ b/TShockAPI/Commands.cs @@ -385,7 +385,7 @@ namespace TShockAPI if (args.Parameters.Count == 2) { var user = new User(); - user.Name = args.Parameters[0].ToLower(); + user.Name = args.Parameters[0]; user.Password = args.Parameters[1]; user.Group = TShock.Config.DefaultRegistrationGroupName; // FIXME -- we should get this from the DB. @@ -441,7 +441,7 @@ namespace TShockAPI { if (namepass.Length == 2) { - user.Name = namepass[0].ToLower(); + user.Name = namepass[0]; user.Password = namepass[1]; user.Group = args.Parameters[2]; }