diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-10 21:23:13 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-10 21:23:13 -0500 |
commit | a66a9395e514ae5b7061be912b601bb8511d17fe (patch) | |
tree | 5857b128929bb368bcf7741c47961d4d558f5e43 /lingo.cpp | |
parent | 807b1f049bcc4597400eea21228875efe098ebc5 (diff) | |
download | lingo-a66a9395e514ae5b7061be912b601bb8511d17fe.tar.gz lingo-a66a9395e514ae5b7061be912b601bb8511d17fe.tar.bz2 lingo-a66a9395e514ae5b7061be912b601bb8511d17fe.zip |
Scoreboard uses server nicknames instead of usernames
Diffstat (limited to 'lingo.cpp')
-rw-r--r-- | lingo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lingo.cpp b/lingo.cpp index 12471d1..3dc8b8f 100644 --- a/lingo.cpp +++ b/lingo.cpp | |||
@@ -370,7 +370,7 @@ public: | |||
370 | 370 | ||
371 | // Forms creation | 371 | // Forms creation |
372 | curl::curl_pair<CURLformoption,std::string> username_form(CURLFORM_COPYNAME,"username"); | 372 | curl::curl_pair<CURLformoption,std::string> username_form(CURLFORM_COPYNAME,"username"); |
373 | curl::curl_pair<CURLformoption,std::string> username_cont(CURLFORM_COPYCONTENTS,event.msg.author.username); | 373 | curl::curl_pair<CURLformoption,std::string> username_cont(CURLFORM_COPYCONTENTS,event.msg.member.nickname); |
374 | curl::curl_pair<CURLformoption,std::string> pass_form(CURLFORM_COPYNAME,"user_id"); | 374 | curl::curl_pair<CURLformoption,std::string> pass_form(CURLFORM_COPYNAME,"user_id"); |
375 | curl::curl_pair<CURLformoption,std::string> pass_cont(CURLFORM_COPYCONTENTS,user_id_str); | 375 | curl::curl_pair<CURLformoption,std::string> pass_cont(CURLFORM_COPYCONTENTS,user_id_str); |
376 | curl::curl_pair<CURLformoption,std::string> av_form(CURLFORM_COPYNAME,"avatar_url"); | 376 | curl::curl_pair<CURLformoption,std::string> av_form(CURLFORM_COPYNAME,"avatar_url"); |