This is a VCS, we don't need to comment out code

This commit is contained in:
Lucas Nicodemus 2012-05-26 17:04:09 -06:00
parent d9a53cda30
commit 60e5e43743

View file

@ -490,7 +490,7 @@ namespace TShockAPI
return; return;
} }
user.Group = TShock.Config.DefaultRegistrationGroupName; // FIXME -- we should get this from the DB. user.Group = TShock.Config.DefaultRegistrationGroupName; // FIXME -- we should get this from the DB. --Why?
if (TShock.Users.GetUserByName(user.Name) == null) // Cheap way of checking for existance of a user if (TShock.Users.GetUserByName(user.Name) == null) // Cheap way of checking for existance of a user
{ {
@ -516,15 +516,6 @@ namespace TShockAPI
private static void ManageUsers(CommandArgs args) private static void ManageUsers(CommandArgs args)
{ {
// This guy needs to go away for the help later on to take effect.
//if (args.Parameters.Count < 2)
//{
// args.Player.SendMessage("Syntax: /user <add/del> <ip/user:pass> [group]");
// args.Player.SendMessage("Note: Passwords are stored with SHA512 hashing. To reset a user's password, remove and re-add them.");
// return;
//}
// This guy needs to be here so that people don't get exceptions when they type /user // This guy needs to be here so that people don't get exceptions when they type /user
if (args.Parameters.Count < 1) if (args.Parameters.Count < 1)
{ {