From e7e2da5a9c469aa4291d4630adb75d1e62cccbd5 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Fri, 2 Jan 2009 23:05:23 +0100 Subject: Add null values for options, new syntax for /set, reintroduce temporary IRC server feature, improve IRC server options, new functions in API --- src/plugins/charset/charset.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/plugins/charset') diff --git a/src/plugins/charset/charset.c b/src/plugins/charset/charset.c index 487fec0ab..78a002ce1 100644 --- a/src/plugins/charset/charset.c +++ b/src/plugins/charset/charset.c @@ -109,7 +109,8 @@ charset_config_create_option (void *data, struct t_config_file *config_file, ptr_option = weechat_config_new_option ( config_file, section, option_name, "string", NULL, - NULL, 0, 0, "", value, NULL, NULL, NULL, NULL, NULL, NULL); + NULL, 0, 0, "", value, 0, + NULL, NULL, NULL, NULL, NULL, NULL); rc = (ptr_option) ? WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE : WEECHAT_CONFIG_OPTION_SET_ERROR; } @@ -163,13 +164,13 @@ charset_config_init () (charset_terminal && charset_internal && (strcasecmp (charset_terminal, charset_internal) != 0)) ? - charset_terminal : "iso-8859-1", NULL, + charset_terminal : "iso-8859-1", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL); charset_default_encode = weechat_config_new_option ( charset_config_file, ptr_section, "encode", "string", N_("global encoding charset"), - NULL, 0, 0, "", NULL, + NULL, 0, 0, "", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL); ptr_section = weechat_config_new_section (charset_config_file, "decode", -- cgit v1.2.3