Don't call time() for nat_last_login, use player->curup
This commit is contained in:
parent
273875a68c
commit
cb0a373dff
1 changed files with 1 additions and 2 deletions
|
@ -97,8 +97,7 @@ player_main(struct player *p)
|
|||
strcpy(natp->nat_userid, player->userid);
|
||||
strcpy(natp->nat_hostname, player->hostname);
|
||||
strcpy(natp->nat_hostaddr, player->hostaddr);
|
||||
|
||||
time(&natp->nat_last_login);
|
||||
natp->nat_last_login = player->curup;
|
||||
putnat(natp);
|
||||
journal_login();
|
||||
if (natp->nat_flags & NF_INFORM && natp->nat_tgms > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue