[s]fix slight error (#25699)

* fix slight error

* fixes .? issue
This commit is contained in:
Qwertytoforty
2024-05-30 13:32:03 -04:00
committed by GitHub
parent d5eee09abc
commit 91aa03d64a
6 changed files with 22 additions and 7 deletions
+8 -2
View File
@@ -76,13 +76,19 @@ GLOBAL_VAR_INIT(nologevent, 0)
if(!check_rights(R_ADMIN|R_MOD))
return
var/our_key = M.key
if(M.client && M.client.holder)
if(M.client.holder.fakekey && M.client.holder.big_brother)
our_key = M.client.holder.fakekey
var/body = "<html><meta charset='UTF-8'><head><title>Options for [M.key]</title></head>"
var/body = "<html><meta charset='UTF-8'><head><title>Options for [our_key]</title></head>"
body += "<body>Options panel for <b>[M]</b>"
if(M.client)
body += " played by <b>[M.client]</b> "
if(check_rights(R_PERMISSIONS, 0))
if(check_rights(R_PERMISSIONS, FALSE))
body += "\[<A href='byond://?_src_=holder;editrights=rank;ckey=[M.ckey]'>[M.client.holder ? M.client.holder.rank : "Player"]</A>\] "
else if(M.client.holder && M.client.holder.fakekey && M.client.holder.big_brother)
body += "\[Player\] "
else
body += "\[[M.client.holder ? M.client.holder.rank : "Player"]\] "
body += "\[<A href='byond://?_src_=holder;getplaytimewindow=[M.UID()]'>" + M.client.get_exp_type(EXP_TYPE_CREW) + " as [EXP_TYPE_CREW]</a>\]"