mirror of
https://github.com/weechat/weechat.git
synced 2026-07-09 11:13:12 +02:00
core: fix double call to hook config when an option is unset
This commit is contained in:
@@ -2232,7 +2232,7 @@ config_file_option_unset (struct t_config_option *option)
|
||||
}
|
||||
else
|
||||
{
|
||||
config_file_option_free (option, 1);
|
||||
config_file_option_free (option, 0);
|
||||
rc = WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user