retired admins don't get sent as admins in json

This commit is contained in:
Tastyfish
2012-01-04 22:01:24 -05:00
parent 14e9dbd779
commit f6706ef333
+1 -1
View File
@@ -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];"