summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/groupchat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Discord/src/groupchat.cpp')
-rw-r--r--protocols/Discord/src/groupchat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/groupchat.cpp b/protocols/Discord/src/groupchat.cpp
index ee00b1054e..fffad8683b 100644
--- a/protocols/Discord/src/groupchat.cpp
+++ b/protocols/Discord/src/groupchat.cpp
@@ -81,7 +81,7 @@ void CDiscordProto::Chat_SendPrivateMessage(GCHOOK *gch)
setId(hContact, DB_KEY_ID, userId);
setId(hContact, DB_KEY_CHANNELID, _wtoi64(gch->si->ptszID));
- setWString(hContact, "Nick", gch->ptszNick);
+ setWString(hContact, DB_KEY_NICK, gch->ptszNick);
Contact_Hide(hContact);
db_set_dw(hContact, "Ignore", "Mask1", 0);
}