[MIRROR] Admins can now safely cancel the "Admin PM" verb [MDB IGNORE] (#17093)

* Admins can now safely cancel the "Admin PM" verb (#70705)

* Admins can now safely cancel the "Admin PM" verb

Co-authored-by: Funce <funce.973@gmail.com>
This commit is contained in:
SkyratBot
2022-10-22 02:29:16 -04:00
committed by GitHub
co-authored by Funce
parent bb9e988884
commit 7b2b8f1f05
+2
View File
@@ -60,6 +60,8 @@
targets["[nametag] - [client]"] = client
var/target = input(src,"To whom shall we send a message?", "Admin PM", null) as null|anything in sort_list(targets)
if (isnull(target))
return
cmd_admin_pm(targets[target], null)
SSblackbox.record_feedback("tally", "admin_verb", 1, "Admin PM") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!