mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 03:55:05 +01:00
Merge pull request #9006 from Kyep/login_logout_attack_log
Adds login/logout to attack logs
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user