mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
query debug logging
This commit is contained in:
@@ -2461,6 +2461,19 @@
|
||||
usr.client.cmd_admin_mod_antag_rep(C, href_list["modantagrep"])
|
||||
show_player_panel(M)
|
||||
|
||||
else if(href_list["slowquery"])
|
||||
if(!check_rights(R_ADMIN))
|
||||
return
|
||||
var/a = href_list["slowquery"]
|
||||
if(a == "yes")
|
||||
log_qdl("[usr.key] | reported hang")
|
||||
if(alert(usr, "Had you just press any admin buttons?", "Query hang report", "Yes", "No") == "Yes")
|
||||
var/s = input(usr,"What were you just doing?","Query hang report") as null|text
|
||||
if(s)
|
||||
log_qdl("[usr.key] | [s]")
|
||||
else if(a == "no")
|
||||
log_qdl("[usr.key] | reported no hang")
|
||||
|
||||
/datum/admins/proc/HandleCMode()
|
||||
if(!check_rights(R_ADMIN))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user