summaryrefslogtreecommitdiff
path: root/src/plugins/alias
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-10-18 19:31:40 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-10-18 19:31:40 +0200
commit3b81a4746a4e0b648df1e05c79e077cc93b69459 (patch)
tree0914480d42a49b709763facafd2706706f3cbc32 /src/plugins/alias
parent8511f9a77e45307389f54afa8ddfc1e112f0f59c (diff)
downloadweechat-3b81a4746a4e0b648df1e05c79e077cc93b69459.zip
Add new argument "value" to function config_new_option
Diffstat (limited to 'src/plugins/alias')
-rw-r--r--src/plugins/alias/alias.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/alias/alias.c b/src/plugins/alias/alias.c
index 95de45628..1c1a80c56 100644
--- a/src/plugins/alias/alias.c
+++ b/src/plugins/alias/alias.c
@@ -619,7 +619,7 @@ 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, NULL, NULL,
&alias_config_change_cb, NULL,
&alias_config_delete_cb, NULL);
@@ -731,7 +731,7 @@ 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], NULL, NULL,
&alias_config_change_cb, NULL,
&alias_config_delete_cb, NULL);