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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user