mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 00:03:12 +02:00
Add null values for options, new syntax for /set, reintroduce temporary IRC server feature, improve IRC server options, new functions in API
This commit is contained in:
@@ -631,7 +631,8 @@ alias_config_create_option (void *data, struct t_config_file *config_file,
|
||||
weechat_config_new_option (
|
||||
config_file, section,
|
||||
option_name, "string", NULL,
|
||||
NULL, 0, 0, "", value, NULL, NULL,
|
||||
NULL, 0, 0, "", value, 0,
|
||||
NULL, NULL,
|
||||
&alias_config_change_cb, NULL,
|
||||
&alias_config_delete_cb, NULL);
|
||||
|
||||
@@ -750,7 +751,8 @@ alias_command_cb (void *data, struct t_gui_buffer *buffer, int argc,
|
||||
weechat_config_new_option (
|
||||
alias_config_file, alias_config_section_cmd,
|
||||
alias_name, "string", NULL,
|
||||
NULL, 0, 0, "", argv_eol[2], NULL, NULL,
|
||||
NULL, 0, 0, "", argv_eol[2], 0,
|
||||
NULL, NULL,
|
||||
&alias_config_change_cb, NULL,
|
||||
&alias_config_delete_cb, NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user