Moves the removal of the re-admin verb to the admin holder's associate proc to prevent reload_admins and any other method of re-adminning someone from leaving them with the re-admin verb.

This commit is contained in:
Boggart
2015-01-04 19:30:20 -07:00
parent bf3ccfef36
commit 57f69f17e4
2 changed files with 1 additions and 1 deletions

View File

@@ -570,7 +570,6 @@ var/list/admin_verbs_hideable = list(
message_admins("[src] re-adminned themselves.") message_admins("[src] re-adminned themselves.")
log_admin("[src] re-adminned themselves.") log_admin("[src] re-adminned themselves.")
feedback_add_details("admin_verb","RAS") feedback_add_details("admin_verb","RAS")
verbs -= /client/proc/readmin
return return
else else
src << "You are already an admin." src << "You are already an admin."

View File

@@ -31,6 +31,7 @@ var/list/admin_datums = list()
owner = C owner = C
owner.holder = src owner.holder = src
owner.add_admin_verbs() //TODO owner.add_admin_verbs() //TODO
owner.verbs -= /client/proc/readmin
admins |= C admins |= C
/datum/admins/proc/disassociate() /datum/admins/proc/disassociate()