diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-03 12:46:55 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-03 12:46:55 +0000 |
commit | d0e954f07780ee06071e874c6a21fd951a5d6fda (patch) | |
tree | a87399e2e7832889cdc66e03bba4534d75f22d74 /src/map/chrif.c | |
parent | f21ecb9bfff371fb5db70fd3423673391e610ee9 (diff) | |
download | hercules-d0e954f07780ee06071e874c6a21fd951a5d6fda.tar.gz hercules-d0e954f07780ee06071e874c6a21fd951a5d6fda.tar.bz2 hercules-d0e954f07780ee06071e874c6a21fd951a5d6fda.tar.xz hercules-d0e954f07780ee06071e874c6a21fd951a5d6fda.zip |
Renamed 'connect_until_time' to 'expiration_time'.
Renamed 'ban_until_time' to 'unban_time'.
this also applies to login table columns (see upgrade_svn12464.sql).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12464 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r-- | src/map/chrif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c index e56ae5a56..583c22ad6 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -523,7 +523,7 @@ void chrif_authreq(struct map_session_data *sd) node->char_id == sd->status.char_id && node->login_id1 == sd->login_id1) { //auth ok - if (!pc_authok(sd, node->login_id2, node->connect_until_time, node->char_dat)) + if (!pc_authok(sd, node->login_id2, node->expiration_time, node->char_dat)) chrif_auth_delete(node->account_id, node->char_id, ST_LOGIN); else { //char_dat no longer needed, but player auth is not completed yet. @@ -594,7 +594,7 @@ void chrif_authok(int fd) node->account_id=account_id; node->char_id=char_id; node->login_id1=RFIFOL(fd, 8); - node->connect_until_time=RFIFOL(fd, 12); + node->expiration_time=RFIFOL(fd, 12); node->login_id2=RFIFOL(fd, 16); memcpy(node->char_dat,status,sizeof(struct mmo_charstatus)); node->node_created=gettick(); |