mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
let cmd_admin_pm handle the null client
This commit is contained in:
@@ -79,8 +79,7 @@
|
||||
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"])
|
||||
to_chat(src, "<span class='danger'>Error: Private-Message: Client not found.</span>")
|
||||
return
|
||||
C = null // 404 client not found. Let cmd_admin_pm handle the error
|
||||
cmd_admin_pm(C, null, href_list["type"])
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user