summaryrefslogtreecommitdiff
path: root/src/login/login.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/login/login.c')
-rw-r--r--src/login/login.c4
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++;