mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 10:33:30 +01:00
Fixes missing/broken admin permission checks
Also fixes a small issue with the permissions panel, because the error message was really annoying me.
This commit is contained in:
@@ -426,7 +426,7 @@ client
|
||||
|
||||
/client/proc/view_var_Topic(href, href_list, hsrc)
|
||||
//This should all be moved over to datum/admins/Topic() or something ~Carn
|
||||
if( (usr.client != src) || !src.holder )
|
||||
if(!check_rights(R_ADMIN|R_MOD))
|
||||
return
|
||||
if(href_list["Vars"])
|
||||
debug_variables(locate(href_list["Vars"]))
|
||||
|
||||
Reference in New Issue
Block a user