1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 19:23:13 +02:00

core: call the config hook when options are removed

This commit is contained in:
Sébastien Helleu
2017-07-08 14:44:28 +02:00
parent d01a3298b3
commit 8fdd6164ef
10 changed files with 59 additions and 37 deletions
+10
View File
@@ -107,6 +107,16 @@ plugin_api_ngettext (const char *single, const char *plural, int count)
return NG_(single, plural, count);
}
/*
* Frees an option.
*/
void
plugin_api_config_file_option_free (struct t_config_option *option)
{
config_file_option_free (option, 1);
}
/*
* Gets pointer on an option.
*/