From f6706ef3332c8d72bdc0be4f60941967df2adf5d Mon Sep 17 00:00:00 2001 From: Tastyfish Date: Wed, 4 Jan 2012 22:01:24 -0500 Subject: [PATCH] retired admins don't get sent as admins in json --- code/game/json.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/json.dm b/code/game/json.dm index 38eca15c3b8..c1d94b08510 100644 --- a/code/game/json.dm +++ b/code/game/json.dm @@ -30,7 +30,7 @@ proc/makejson() var/admins = "no" for(var/client/C) playerscount++ - if(C.holder) + if(C.holder && C.holder.level >= 0) // make sure retired admins don't make nt think admins are on if(!C.stealth) admins = "yes" players += "[C.key];"