summaryrefslogtreecommitdiff
path: root/src/plugins/alias
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-04-15 13:50:01 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-04-15 13:50:01 +0200
commitb87d709a7079e5c20b2d556158f57239c72095b7 (patch)
treee841adf778886b2a9930445e666584fe4b8e589c /src/plugins/alias
parent362ce3eca8f354d59aa975ff3bf3d35bceaaf3e6 (diff)
downloadweechat-b87d709a7079e5c20b2d556158f57239c72095b7.zip
New format for [bar] section in weechat.conf file, bar options can be set with /set command
Diffstat (limited to 'src/plugins/alias')
-rw-r--r--src/plugins/alias/alias.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/alias/alias.c b/src/plugins/alias/alias.c
index dba460a61..f035171c6 100644
--- a/src/plugins/alias/alias.c
+++ b/src/plugins/alias/alias.c
@@ -615,6 +615,7 @@ alias_config_init ()
return 0;
ptr_section = weechat_config_new_section (alias_config_file, "cmd",
+ 1, 1,
NULL, NULL,
NULL, NULL,
&alias_config_write_default, NULL,
@@ -775,7 +776,7 @@ unalias_command_cb (void *data, struct t_gui_buffer *buffer, int argc,
alias_config_section_cmd,
alias_name);
if (ptr_option)
- weechat_config_option_free (alias_config_section_cmd, ptr_option);
+ weechat_config_option_free (ptr_option);
weechat_printf (NULL,
_("Alias \"%s\" removed"),