adds login/logout to attack logs

This commit is contained in:
Kyep
2018-05-10 19:30:42 -07:00
parent 1eb5d62368
commit bf0fdd8713
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -4,6 +4,7 @@
lastKnownIP = client.address
computer_id = client.computer_id
log_access_in(client)
create_attack_log("<font color='red'>Logged in at [atom_loc_line(get_turf(src))]</font>")
if(config.log_access)
for(var/mob/M in player_list)
if(M == src) continue
+1
View File
@@ -3,6 +3,7 @@
unset_machine()
player_list -= src
log_access_out(src)
create_attack_log("<font color='red'>Logged out at [atom_loc_line(get_turf(src))]</font>")
// `holder` is nil'd out by now, so we check the `admin_datums` array directly
//Only report this stuff if we are currently playing.
if(admin_datums[ckey] && ticker && ticker.current_state == GAME_STATE_PLAYING)