mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
admin accountability (#17585)
This commit is contained in:
@@ -1031,6 +1031,8 @@
|
||||
var/newname = input(usr, "What do you want to rename this to?", "Automatic Rename") as null|text
|
||||
// Check the new name against the chat filter. If it triggers the IC chat filter, give an option to confirm.
|
||||
if(newname)
|
||||
log_admin("[key_name(usr)] renamed [src] to [newname].")
|
||||
message_admins("Admin [key_name_admin(usr)] renamed [ADMIN_FLW(src)] to [newname].")
|
||||
vv_auto_rename(newname)
|
||||
|
||||
/atom/proc/vv_auto_rename(newname)
|
||||
|
||||
Reference in New Issue
Block a user