Ver Fonte

Fix account wipe

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@984 54d463be-8e91-2dee-dedb-b68131a5f0ec
amber há 20 anos atrás
pai
commit
698c842177
2 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 0
      Changelog.txt
  2. 0 1
      src/login/login.c

+ 2 - 0
Changelog.txt

@@ -1,6 +1,8 @@
 Date	Added
 
 01/24
+        * Fixed a account wipe bug in login/login.c (Thanks Wallex)
+          [SVN 984] [MouseJstr]
         * Fixed a crash in char_sql/char.c where people were selecting
           chars before requesting connections [SVN 983] [MouseJstr]
         * some G++ compile tweaks and got through several files in the

+ 0 - 1
src/login/login.c

@@ -1025,7 +1025,6 @@ int mmo_auth_new(struct mmo_account* account, char sex, char* email) {
 	if (auth_num >= auth_max) {
 		auth_max += 256;
 		auth_dat = (struct auth_dat*)aRealloc(auth_dat, sizeof(struct auth_dat) * auth_max);
-		memset(auth_dat, 0, sizeof(struct auth_dat) * auth_max);
 	}
 
 	memset(&auth_dat[i], '\0', sizeof(struct auth_dat));