mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-10 18:11:47 +00:00
Adding a player to the watchlist adds a note as well (#22544)
* Watchlist * Secret note
This commit is contained in:
@@ -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]'")
|
||||
|
||||
Reference in New Issue
Block a user