summaryrefslogtreecommitdiff
path: root/src/plugins/script/script-config.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-04-23 14:11:27 +0200
committerSébastien Helleu <flashcode@flashtux.org>2017-04-23 14:11:27 +0200
commit2606b8a5a327a8c33924a87f3a39f9fe61a494c3 (patch)
tree00d14a9d5ac319594839cf68432a4c42ae8981f2 /src/plugins/script/script-config.c
parentffdf0ec6875e828cb8b1777b55617f9d77731793 (diff)
downloadweechat-2606b8a5a327a8c33924a87f3a39f9fe61a494c3.zip
script: remove option script.scripts.url_force_https, use HTTPS by default in option script.scripts.url (issue #253)
Diffstat (limited to 'src/plugins/script/script-config.c')
-rw-r--r--src/plugins/script/script-config.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/plugins/script/script-config.c b/src/plugins/script/script-config.c
index 67ca82fce..418bc1e52 100644
--- a/src/plugins/script/script-config.c
+++ b/src/plugins/script/script-config.c
@@ -86,7 +86,6 @@ struct t_config_option *script_config_scripts_download_timeout;
struct t_config_option *script_config_scripts_path;
struct t_config_option *script_config_scripts_hold;
struct t_config_option *script_config_scripts_url;
-struct t_config_option *script_config_scripts_url_force_https;
/*
@@ -760,17 +759,8 @@ script_config_init ()
script_config_scripts_url = weechat_config_new_option (
script_config_file, ptr_section,
"url", "string",
- N_("URL for file with list of scripts; by default HTTPS is forced, "
- "see option script.scripts.url_force_https"),
- NULL, 0, 0, "http://weechat.org/files/plugins.xml.gz", NULL, 0,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
- script_config_scripts_url_force_https = weechat_config_new_option (
- script_config_file, ptr_section,
- "url_force_https", "boolean",
- N_("force use of HTTPS for downloads (index and scripts); "
- "you should disable this option only if you have problems with "
- "the downloads"),
- NULL, 0, 0, "on", NULL, 0,
+ N_("URL for file with list of scripts"),
+ NULL, 0, 0, "https://weechat.org/files/plugins.xml.gz", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
return 1;