Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit b6d196c

Browse files
committed
That may have been the actual ID and not their alias
1 parent 4bdec9a commit b6d196c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yogstation/code/modules/mentor/mentorpm.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090

9191
var/datum/DBQuery/add_mhelp_query = SSdbcore.NewQuery(
9292
"INSERT INTO `[format_table_name("mentor_interactions")]` (round_id, ckey, ckey_mentor, target_ckey, target_mentor, message) VALUES (:round, :send, :smentor, :receive, :rmentor, :msg);",
93-
list("round" = GLOB.round_id, "send" = ckey, "smentor" = is_mentor(), "receive" = discord_id ? discord_id : C.ckey, "rmentor" = C.is_mentor(), "msg" = msg)
93+
list("round" = GLOB.round_id, "send" = ckey, "smentor" = is_mentor(), "receive" = discord_id ? whom : C.ckey, "rmentor" = C.is_mentor(), "msg" = msg)
9494
)
9595
if(!add_mhelp_query.Execute())
9696
message_admins("Failed insert mhelp into mhelp DB. Check the SQL error logs for more details.")

0 commit comments

Comments
 (0)