diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-05 14:15:58 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-05 14:15:58 +0000 |
commit | 18b911c57a786135cf29fdca1c6e79093cd58945 (patch) | |
tree | c8cb9d5c3cefe3c6d0d813fadc9b61817f9b36b9 /src | |
parent | c4c3107d53002da172af6d93e21a8741d9b0b266 (diff) | |
download | hercules-18b911c57a786135cf29fdca1c6e79093cd58945.tar.gz hercules-18b911c57a786135cf29fdca1c6e79093cd58945.tar.bz2 hercules-18b911c57a786135cf29fdca1c6e79093cd58945.tar.xz hercules-18b911c57a786135cf29fdca1c6e79093cd58945.zip |
Updated the TXT login server's account id checker (it was still saying the minimum is 700000 instead of 2000000)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9788 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/login/login.c | 4 |
1 files changed, 2 insertions, 2 deletions
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++; |