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:
aranclanos@hotmail.com
2013-02-15 16:05:42 +00:00
parent 13caf2276c
commit cbbe1c98fd
+3
View File
@@ -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)