Kill masterserver_token

This commit is contained in:
James R 2020-04-12 17:15:39 -07:00
parent f0cc851b29
commit ef71bef6f3
3 changed files with 0 additions and 12 deletions

View file

@ -24,14 +24,6 @@ consvar_t cv_http_masterserver = {
NULL, NULL, 0, NULL, NULL, 0, 0, NULL/* C90 moment */
};
consvar_t cv_masterserver_token = {
"masterserver_token",
"",
CV_SAVE,
NULL, NULL, 0, NULL, NULL, 0, 0, NULL/* C90 moment */
};
consvar_t cv_masterserver_debug = {
"masterserver_debug", "Off", CV_SAVE, CV_OnOff,
NULL, 0, NULL, NULL, 0, 0, NULL/* C90 moment */
@ -235,8 +227,6 @@ HMS_unlist (void)
struct HMS_buffer *hms;
hms = HMS_connect("servers/%s/unlist", hms_server_token);
curl_easy_setopt(hms->curl, CURLOPT_CUSTOMREQUEST, "POST");
/*curl_easy_setopt(hms->curl, CURLOPT_POSTFIELDS,
cv_masterserver_token.string);*/
HMS_do(hms);
HMS_end(hms);
}

View file

@ -261,7 +261,6 @@ void AddMServCommands(void)
#ifndef NONET
CV_RegisterVar(&cv_masterserver);
CV_RegisterVar(&cv_http_masterserver);
CV_RegisterVar(&cv_masterserver_token);
CV_RegisterVar(&cv_masterserver_debug);
CV_RegisterVar(&cv_servername);
COM_AddCommand("listserv", Command_Listserv_f);

View file

@ -65,7 +65,6 @@ typedef struct
extern consvar_t cv_masterserver, cv_servername;
extern consvar_t cv_http_masterserver;
extern consvar_t cv_masterserver_token;
extern consvar_t cv_masterserver_debug;
// < 0 to not connect (usually -1) (offline mode)