mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-29 13:51:24 +00:00
Kill masterserver_token
This commit is contained in:
parent
f0cc851b29
commit
ef71bef6f3
3 changed files with 0 additions and 12 deletions
|
@ -24,14 +24,6 @@ consvar_t cv_http_masterserver = {
|
||||||
NULL, NULL, 0, NULL, NULL, 0, 0, NULL/* C90 moment */
|
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 = {
|
consvar_t cv_masterserver_debug = {
|
||||||
"masterserver_debug", "Off", CV_SAVE, CV_OnOff,
|
"masterserver_debug", "Off", CV_SAVE, CV_OnOff,
|
||||||
NULL, 0, NULL, NULL, 0, 0, NULL/* C90 moment */
|
NULL, 0, NULL, NULL, 0, 0, NULL/* C90 moment */
|
||||||
|
@ -235,8 +227,6 @@ HMS_unlist (void)
|
||||||
struct HMS_buffer *hms;
|
struct HMS_buffer *hms;
|
||||||
hms = HMS_connect("servers/%s/unlist", hms_server_token);
|
hms = HMS_connect("servers/%s/unlist", hms_server_token);
|
||||||
curl_easy_setopt(hms->curl, CURLOPT_CUSTOMREQUEST, "POST");
|
curl_easy_setopt(hms->curl, CURLOPT_CUSTOMREQUEST, "POST");
|
||||||
/*curl_easy_setopt(hms->curl, CURLOPT_POSTFIELDS,
|
|
||||||
cv_masterserver_token.string);*/
|
|
||||||
HMS_do(hms);
|
HMS_do(hms);
|
||||||
HMS_end(hms);
|
HMS_end(hms);
|
||||||
}
|
}
|
||||||
|
|
|
@ -261,7 +261,6 @@ void AddMServCommands(void)
|
||||||
#ifndef NONET
|
#ifndef NONET
|
||||||
CV_RegisterVar(&cv_masterserver);
|
CV_RegisterVar(&cv_masterserver);
|
||||||
CV_RegisterVar(&cv_http_masterserver);
|
CV_RegisterVar(&cv_http_masterserver);
|
||||||
CV_RegisterVar(&cv_masterserver_token);
|
|
||||||
CV_RegisterVar(&cv_masterserver_debug);
|
CV_RegisterVar(&cv_masterserver_debug);
|
||||||
CV_RegisterVar(&cv_servername);
|
CV_RegisterVar(&cv_servername);
|
||||||
COM_AddCommand("listserv", Command_Listserv_f);
|
COM_AddCommand("listserv", Command_Listserv_f);
|
||||||
|
|
|
@ -65,7 +65,6 @@ typedef struct
|
||||||
|
|
||||||
extern consvar_t cv_masterserver, cv_servername;
|
extern consvar_t cv_masterserver, cv_servername;
|
||||||
extern consvar_t cv_http_masterserver;
|
extern consvar_t cv_http_masterserver;
|
||||||
extern consvar_t cv_masterserver_token;
|
|
||||||
extern consvar_t cv_masterserver_debug;
|
extern consvar_t cv_masterserver_debug;
|
||||||
|
|
||||||
// < 0 to not connect (usually -1) (offline mode)
|
// < 0 to not connect (usually -1) (offline mode)
|
||||||
|
|
Loading…
Reference in a new issue