diff options
-rw-r--r-- | Changelog-Trunk.txt | 2 | ||||
-rw-r--r-- | src/login/login.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index b8c76047b..a5b7de77e 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. 2007/02/05 + * Updated the TXT login server's account id checker + (it was still saying the minimum is 700000 instead of 2000000) * Changed the 'getpartyleader' script command so that it returns a map name instead of the useless mapindex number. Also fixed it so that it doesn't throw a 'args of aFree is not valid pointer' error. diff --git a/src/login/login.c b/src/login/login.c index 98e6ce038..66152e52f 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -1382,8 +1382,8 @@ int mmo_auth(struct mmo_account* account, int fd) { memcpy(account->lastlogin, auth_dat[i].lastlogin, 24); memcpy(auth_dat[i].lastlogin, tmpstr, 24); account->sex = auth_dat[i].sex; - if (account->sex != 2 && account->account_id < 700000) - ShowWarning("Account %s has account id %d! Account IDs must be over 700000 to work properly!\n", account->userid, account->account_id); + if (account->sex != 2 && account->account_id < START_ACCOUNT_NUM) + ShowWarning("Account %s has account id %d! Account IDs must be over %d to work properly!\n", account->userid, account->account_id, START_ACCOUNT_NUM); strncpy(auth_dat[i].last_ip, ip, 16); auth_dat[i].logincount++; |