mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Makes PMs work after the client reconnects (#14404)
This commit is contained in:
@@ -108,13 +108,9 @@
|
||||
|
||||
//Admin PM
|
||||
if(href_list["priv_msg"])
|
||||
var/client/C = locate(href_list["priv_msg"])
|
||||
var/ckey_txt = href_list["priv_msg"]
|
||||
|
||||
if(!C) // Might be a stealthmin ID, so pass it in straight
|
||||
C = href_list["priv_msg"]
|
||||
else if(C.UID() != href_list["priv_msg"])
|
||||
C = null // 404 client not found. Let cmd_admin_pm handle the error
|
||||
cmd_admin_pm(C, null, href_list["type"])
|
||||
cmd_admin_pm(ckey_txt, null, href_list["type"])
|
||||
return
|
||||
|
||||
if(href_list["irc_msg"])
|
||||
|
||||
Reference in New Issue
Block a user