anchor.diff:  		if(browse)
   			browse_messages("[type]")
   		else
  -			browse_messages(target_ckey = target_ckey)
  +			browse_messages(target_ckey = target_ckey, agegate = TRUE)
   
   /proc/toggle_message_secrecy(message_id)
   	if(!SSdbcore.Connect())
  
positive.code: 	var/type
  	var/target_ckey
  	var/text
  	var/datum/DBQuery/query_find_del_message = SSdbcore.NewQuery("SELECT type, targetckey, adminckey, text FROM [format_table_name("messages")] WHERE id = [message_id]")
  	if(!query_find_del_message.warn_execute())
  		return
  	if(query_find_del_message.NextRow())
  		type = query_find_del_message.item[1]
  		target_ckey = query_find_del_message.item[2]
  		text = query_find_del_message.item[4]
  	var/datum/DBQuery/query_del_message = SSdbcore.NewQuery("DELETE FROM [format_table_name("messages")] WHERE id = [message_id]")
  	if(!query_del_message.warn_execute())
  		return
  	if(logged)
  
negative.code: 				search = "^\[^\[:alpha:\]\]"
  			else
  				search = "^[index]"
  		var/datum/DBQuery/query_list_messages = SSdbcore.NewQuery("SELECT DISTINCT targetckey FROM [format_table_name("messages")] WHERE type <> 'memo' AND targetckey REGEXP '[search]' AND deleted = 0 ORDER BY targetckey")
  		if(!query_list_messages.warn_execute())
  			return
  		while(query_list_messages.NextRow())
  