empserver/src/lib/player
Markus Armbruster f94f81ee16 (add): Initialize nat_last_login and nat_last_logout to zero rather
than current time.  Nation addition time is irrelevant.
(natstr): Document zero nat_last_login, nat_last_login mean never
logged in/out.
(player_main): Test nat_last_login zero instead of nat_hostaddr empty.

(player_main): Assign nat_userid, nat_hostname, nat_hostaddr straight
from player.  The last connection's host is now shown as dotted quads
instead of nowhere when the name isn't known.
(natstr): Document that nat_userid, nat_hostname may be empty.

(player_main): Simplify printing last connection address: nat_hostaddr
can't be empty here; don't bother to substitute "nobody" for empty
user.
2005-10-03 13:25:54 +00:00
..
.cvsignore List generated files and directories that CVS doesn't ignore by 2003-10-04 14:54:09 +00:00
accept.c (player_find_other): Replace by getplayer. player_find_other() 2005-10-02 16:30:43 +00:00
dispatch.c Document, in particular use of UTF-8. Simplify code in a couple of 2005-06-13 19:02:49 +00:00
empdis.c (getcommand): Remove unused variable i 2005-07-24 17:24:21 +00:00
empmod.c (hidd,peek): Rename hidden command to peek. 2005-06-01 12:26:22 +00:00
init_nats.c Update copyright notice. 2005-03-16 22:03:16 +00:00
login.c (player_find_other): Replace by getplayer. player_find_other() 2005-10-02 16:30:43 +00:00
Makefile Update copyright notice. 2005-03-16 22:03:16 +00:00
nat.c Update copyright notice. 2005-03-16 22:03:16 +00:00
player.c (add): Initialize nat_last_login and nat_last_logout to zero rather 2005-10-03 13:25:54 +00:00
recvclient.c New doc & doc fixes. Remove s_char on the way. 2005-06-25 17:22:45 +00:00