Fixes bnet account create command.

This commit is contained in:
hondacrx
2022-07-07 13:44:01 -04:00
parent ba6c30add4
commit db83da417a
4 changed files with 12 additions and 25 deletions
+2 -2
View File
@@ -30,10 +30,10 @@ namespace Game
{
gameAccountName = "";
if (email.Length > 320)
if (email.IsEmpty() || email.Length > 320)
return AccountOpResult.NameTooLong;
if (password.Length > 16)
if (password.IsEmpty() || password.Length > 16)
return AccountOpResult.PassTooLong;
if (GetId(email) != 0)