diff options
-rw-r--r-- | Changelog.txt | 2 | ||||
-rw-r--r-- | src/login/login.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog.txt b/Changelog.txt index 1e5273e57..45e664da1 100644 --- a/Changelog.txt +++ b/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 diff --git a/src/login/login.c b/src/login/login.c index 4e1870163..c7440dd4b 100644 --- a/src/login/login.c +++ b/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)); |