anchor.diff:  			force_readmin(admin_ckey, D)
   		if("deactivate")
   			force_deadmin(admin_ckey, D)
  +		if("sync")
  +			sync_lastadminrank(admin_ckey, D)
   	edit_admin_permissions()
   
   /datum/admins/proc/add_admin(use_db)
  
positive.code: 	var/use_db
  	var/task = href_list["editrights"]
  	var/skip
  	if(task == "activate" || task == "deactivate")
  		skip = TRUE
  	if(!CONFIG_GET(flag/admin_legacy_system) && CONFIG_GET(flag/protect_legacy_admins) && task == "rank")
  		if(admin_ckey in GLOB.protected_admins)
  
negative.code: 			deadminlink = " <a class='small' href='?src=[REF(src)];[HrefToken()];editrights=deactivate;ckey=[adm_ckey]'>\[DA\]</a>"
  
  		output += "<tr>"
  		output += "<td style='text-align:center;'>[adm_ckey]<br>[deadminlink]<a class='small' href='?src=[REF(src)];[HrefToken()];editrights=remove;ckey=[adm_ckey]'>\[-\]</a><a class='small' href='?src=[REF(src)];[HrefToken()];editrights=sync;ckey=[adm_ckey]'>\[SYNC TGDB\]</a></td>"
  		output += "<td><a href='?src=[REF(src)];[HrefToken()];editrights=rank;ckey=[adm_ckey]'>[D.rank.name]</a></td>"
  		output += "<td><a class='small' href='?src=[REF(src)];[HrefToken()];editrights=permissions;ckey=[adm_ckey]'>[rights2text(D.rank.include_rights," ")]</a></td>"
  		output += "<td><a class='small' href='?src=[REF(src)];[HrefToken()];editrights=permissions;ckey=[adm_ckey]'>[rights2text(D.rank.exclude_rights," ", "-")]</a></td>"
  