mirror of
https://github.com/weechat/weechat.git
synced 2026-07-06 17:53:13 +02:00
Add new argument "value" to function config_new_option
This commit is contained in:
@@ -291,7 +291,7 @@ notify_config_create_option (void *data, struct t_config_file *config_file,
|
||||
config_file, section,
|
||||
option_name, "integer", NULL,
|
||||
"none|highlight|message|all",
|
||||
0, 0, value, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
0, 0, "", value, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
rc = (ptr_option) ?
|
||||
WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE : WEECHAT_CONFIG_OPTION_SET_ERROR;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user