From 4f62af028d6f348556907aa73466866c65180b3f Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 18 May 2013 22:00:47 +0200 Subject: [PATCH] api: do not display a warning by default when loading a script with a license different from GPL --- ChangeLog | 4 +++- src/plugins/plugin-script.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 530535ba4..47100fd75 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,7 @@ WeeChat ChangeLog ================= Sébastien Helleu -v0.4.1-rc2, 2013-05-12 +v0.4.1-rc2, 2013-05-18 This document lists all changes for each version. @@ -41,6 +41,8 @@ Version 0.4.1 (under dev!) weechat.history.max_buffer_lines_minutes is set (bug #38197) * core: use default hash/comparison callback for keys of type integer/pointer/time in hashtable +* api: do not display a warning by default when loading a script with a license + different from GPL * api: add new function hdata_search * api: add property "completion_freeze" for function buffer_set: do not stop completion when command line is updated diff --git a/src/plugins/plugin-script.c b/src/plugins/plugin-script.c index 8acfe54cf..6dccac325 100644 --- a/src/plugins/plugin-script.c +++ b/src/plugins/plugin-script.c @@ -53,7 +53,7 @@ plugin_script_config_read (struct t_weechat_plugin *weechat_plugin) string = weechat_config_get_plugin (SCRIPT_OPTION_CHECK_LICENSE); if (!string) { - weechat_config_set_plugin (SCRIPT_OPTION_CHECK_LICENSE, "on"); + weechat_config_set_plugin (SCRIPT_OPTION_CHECK_LICENSE, "off"); string = weechat_config_get_plugin (SCRIPT_OPTION_CHECK_LICENSE); } if (string && (weechat_config_string_to_boolean (string) > 0))