diff --git a/code/modules/admin/sql_notes.dm b/code/modules/admin/sql_notes.dm index 51136ba2fec..89d3fbdef51 100644 --- a/code/modules/admin/sql_notes.dm +++ b/code/modules/admin/sql_notes.dm @@ -13,10 +13,9 @@ log_game("SQL ERROR obtaining ckey from player table. Error : \[[err]\]\n") return if(!query_find_ckey.NextRow()) - usr << "[new_ckey] has not been seen before, you can only add notes to known players." - return - else - target_ckey = new_ckey + if(alert(usr, "[new_ckey] has not been seen before, are you sure you want to add them to the watchlist?", "Unknown ckey", "Yes", "No", "Cancel") != "Yes") + return + target_ckey = new_ckey var/target_sql_ckey = sanitizeSQL(target_ckey) if(!notetext) notetext = input(usr,"Write your Note","Add Note") as message diff --git a/code/modules/admin/watchlist.dm b/code/modules/admin/watchlist.dm index 5d772b89a8d..71463b5c528 100644 --- a/code/modules/admin/watchlist.dm +++ b/code/modules/admin/watchlist.dm @@ -10,10 +10,9 @@ log_game("SQL ERROR obtaining ckey from player table. Error : \[[err]\]\n") return if(!query_watchfind.NextRow()) - usr << "[new_ckey] has not been seen before, you can only add known players." - return - else - target_ckey = new_ckey + if(alert(usr, "[new_ckey] has not been seen before, are you sure you want to add them to the watchlist?", "Unknown ckey", "Yes", "No", "Cancel") != "Yes") + return + target_ckey = new_ckey var/target_sql_ckey = sanitizeSQL(target_ckey) if(check_watchlist(target_sql_ckey)) usr << "[target_sql_ckey] is already on the watchlist."