summary refs log tree commit diff stats
path: root/lingo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lingo.cpp')
-rw-r--r--lingo.cpp2
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");