From b7bc344d6e8274e488c9a70279550873ccafcadc Mon Sep 17 00:00:00 2001 From: Cael_Aislinn Date: Thu, 25 Oct 2012 20:31:00 +1000 Subject: [PATCH] fixed an issue where mods could gain access to admin powers Signed-off-by: Cael_Aislinn --- code/modules/admin/holder2.dm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/holder2.dm b/code/modules/admin/holder2.dm index 20e12e7d4ba..96bc9b6e20c 100644 --- a/code/modules/admin/holder2.dm +++ b/code/modules/admin/holder2.dm @@ -1344,7 +1344,10 @@ var/list/admin_datums = list() src.owner << "Name = [M.name]; Real_name = [M.real_name]; Mind_name = [M.mind?"[M.mind.name]":""]; Key = [M.key];" src.owner << "Location = [location_description];" src.owner << "[special_role_description]" - src.owner << "(PM) (PP) (VV) (SM) (JMP) (CA)" + var/adminopts = "(PM)" + if(level >= 3) + adminopts += " (PP) (VV) (SM) (JMP) (CA)" + src.owner << adminopts if (href_list["adminspawncookie"]) var/mob/M = locate(href_list["adminspawncookie"]) @@ -2703,4 +2706,4 @@ var/list/admin_datums = list() switch(href_list["notes"]) if("show") show_player_info(ckey) - return + return