mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] another fix for mentor replies (#11863)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
a6089302a7
commit
1ddedcf57b
@@ -103,10 +103,13 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
|
||||
|
||||
//Admin PM
|
||||
if(href_list["priv_msg"])
|
||||
var/client/C = locate(href_list["priv_msg"])
|
||||
var/passed_key = href_list["priv_msg"]
|
||||
var/client/C = locate(passed_key)
|
||||
if(ismob(C)) //Old stuff can feed-in mobs instead ofGLOB.clients
|
||||
var/mob/M = C
|
||||
C = M.client
|
||||
if(!C && istext(passed_key))
|
||||
C = passed_key
|
||||
cmd_admin_pm(C,null)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user