From 40d347b2deddc59dba85dc404d99f1789c20756d Mon Sep 17 00:00:00 2001 From: KorPhaeron Date: Mon, 2 Jan 2017 09:09:05 -0500 Subject: [PATCH] Adding a player to the watchlist adds a note as well (#22544) * Watchlist * Secret note --- code/modules/admin/watchlist.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/admin/watchlist.dm b/code/modules/admin/watchlist.dm index 71463b5c528..d5ac928272f 100644 --- a/code/modules/admin/watchlist.dm +++ b/code/modules/admin/watchlist.dm @@ -36,6 +36,8 @@ if(browse) watchlist_show(target_sql_ckey) + add_note(target_ckey, "Added to Watchlist - [reason]", null, usr.ckey, 0, null, 1) + /client/proc/watchlist_remove(target_ckey, browse = 0) var/target_sql_ckey = sanitizeSQL(target_ckey) var/DBQuery/query_watchdel = dbcon.NewQuery("DELETE FROM [format_table_name("watch")] WHERE ckey = '[target_sql_ckey]'")