mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Patches a hole
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
/datum/admins/proc/player_panel_new()//The new one
|
||||
if(!usr.client.holder)
|
||||
return
|
||||
// This stops the panel from being invoked by mentors who press F7.
|
||||
if(!check_rights(R_ADMIN))
|
||||
message_admins("[key_name_admin(usr)] attempted to invoke player panel without admin rights. If this is a mentor, its a chance they accidentally hit F7. If this is NOT a mentor, there is a high chance an exploit is being used")
|
||||
return
|
||||
var/dat = "<html><head><title>Admin Player Panel</title></head>"
|
||||
|
||||
//javascript, the part that does most of the work~
|
||||
|
||||
Reference in New Issue
Block a user