mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-14 03:43:50 +00:00
fixes being unable to access own notes (#15599)
* Update sql_message_system.dm * not webeditting Co-authored-by: DeltaFire <andreoxgrievous@gmail.com>
This commit is contained in:
@@ -369,7 +369,7 @@
|
||||
qdel(query_find_message_secret)
|
||||
|
||||
/proc/browse_messages(type, target_ckey, index, linkless = FALSE, filter, agegate = FALSE)
|
||||
if(!check_rights(R_SENSITIVE))
|
||||
if((!usr || (target_ckey != usr.ckey)) && !check_rights(R_SENSITIVE))
|
||||
return
|
||||
if(!SSdbcore.Connect())
|
||||
to_chat(usr, "<span class='danger'>Failed to establish database connection.</span>", confidential = TRUE)
|
||||
|
||||
Reference in New Issue
Block a user