diff options
-rw-r--r-- | src/login/login.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/login/login.c b/src/login/login.c index 32c935d75..946f59207 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -1021,6 +1021,8 @@ static int login_mmo_auth_new(const char *userid, const char *pass, const char s // check for invalid inputs if( sex != 'M' && sex != 'F' ) return 0; // 0 = Unregistered ID + if ( strncmp(userid, "~", strlen("~")) == 0 ) + return 0; // 0 = Unregistered ID // check if the account doesn't exist already if( accounts->load_str(accounts, &acc, userid) ) { |