Fix typos in "slight changes to admin messages" (#65914)

Mistakes not caught in https://github.com/tgstation/tgstation/pull/65871
This commit is contained in:
Mothblocks
2022-04-05 01:50:47 -07:00
committed by GitHub
parent e44916da77
commit 85e81e81dc
+2 -2
View File
@@ -405,8 +405,8 @@
return
var/rounded_message_id = round(href_list["message_id"], 1)
var/datum/db_query/query_message_read = SSdbcore.NewQuery(
"UPDATE [format_table_name("messages")] SET type = 'message sent' WHERE usr.key = :player_key AND id = :id",
list("id" = rounded_message_id)
"UPDATE [format_table_name("messages")] SET type = 'message sent' WHERE targetckey = :player_key AND id = :id",
list("id" = rounded_message_id, "player_key" = usr.ckey)
)
if(!query_message_read.warn_execute())
qdel(query_message_read)