Skip to content

Commit

Permalink
Easier banning of DC'd players.
Browse files Browse the repository at this point in the history
  • Loading branch information
FunnyMan3595 committed Jan 19, 2025
1 parent 1491299 commit d20aa82
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 48 deletions.
4 changes: 2 additions & 2 deletions code/modules/admin/db_ban/functions.dm
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
var/computerid
var/ip

if(ismob(banned_mob) && banned_mob.ckey)
ckey = banned_mob.ckey
if(ismob(banned_mob) && banned_mob.last_known_ckey)
ckey = banned_mob.last_known_ckey
if(banned_mob.client)
computerid = banned_mob.client.computer_id
ip = banned_mob.client.address
Expand Down
Loading

0 comments on commit d20aa82

Please sign in to comment.