1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 22:06:38 +02:00

api: do not display a warning by default when loading a script with a license different from GPL

This commit is contained in:
Sebastien Helleu
2013-05-18 22:00:47 +02:00
parent fc1cdf68e3
commit 4f62af028d
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -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))