mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
Fixes bans not saving IP and ID on clientless mobs.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5711 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -38,6 +38,9 @@ datum/admins/proc/DB_ban_record(var/bantype, var/mob/banned_mob, var/duration =
|
||||
if(banned_mob.client)
|
||||
computerid = banned_mob.client.computer_id
|
||||
ip = banned_mob.client.address
|
||||
else
|
||||
computerid = banned_mob.computer_id
|
||||
ip = banned_mob.lastKnownIP
|
||||
else if(banckey)
|
||||
ckey = ckey(banckey)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user