From 379a689ae2016f6fb9dd5c5500a8137ff89a3ab1 Mon Sep 17 00:00:00 2001 From: Lucas Nicodemus Date: Mon, 13 Apr 2015 14:30:11 -0600 Subject: [PATCH] Change message to be "greater than or equal to" --- TShockAPI/Commands.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TShockAPI/Commands.cs b/TShockAPI/Commands.cs index d1ad31a3..1d172648 100755 --- a/TShockAPI/Commands.cs +++ b/TShockAPI/Commands.cs @@ -928,7 +928,7 @@ namespace TShockAPI user.CreateBCryptHash(args.Parameters[0]); } catch (ArgumentOutOfRangeException) { - args.Player.SendErrorMessage("Password must be > " + TShock.Config.MinimumPasswordLength + " characters."); + args.Player.SendErrorMessage("Password must be greater than or equal to " + TShock.Config.MinimumPasswordLength + " characters."); return; } } @@ -939,7 +939,7 @@ namespace TShockAPI try { user.CreateBCryptHash(args.Parameters[1]); } catch (ArgumentOutOfRangeException) { - args.Player.SendErrorMessage("Password must be > " + TShock.Config.MinimumPasswordLength + " characters."); + args.Player.SendErrorMessage("Password must be greater than or equal to " + TShock.Config.MinimumPasswordLength + " characters."); return; } } @@ -992,7 +992,7 @@ namespace TShockAPI try { user.CreateBCryptHash(args.Parameters[2]); } catch (ArgumentOutOfRangeException) { - args.Player.SendErrorMessage("Password must be > " + TShock.Config.MinimumPasswordLength + " characters."); + args.Player.SendErrorMessage("Password must be greater than or equal to " + TShock.Config.MinimumPasswordLength + " characters."); return; } user.Group = args.Parameters[3];