1
0
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:
Sébastien Helleu
2023-11-04 07:37:12 +01:00
parent 028902b0e3
commit c90c71ea30
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
}