event permissions

This commit is contained in:
silicons
2020-10-07 14:43:53 -07:00
parent 89cfde9c34
commit 8e83dcd697
11 changed files with 44 additions and 3 deletions

View File

@@ -299,6 +299,8 @@
qdel(query_find_message_secret)
/proc/browse_messages(type, target_ckey, index, linkless = FALSE, filter, agegate = FALSE)
if(!check_rights(R_SENSITIVE))
return
if(!SSdbcore.Connect())
to_chat(usr, "<span class='danger'>Failed to establish database connection.</span>")
return