summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-04-22 22:35:13 +0200
committerSébastien Helleu <flashcode@flashtux.org>2015-04-22 22:35:13 +0200
commit8fc64aaea8b4a98ab9bdb5e4b69d031454a06759 (patch)
tree9cad6824496c9552f8b12aeffccbc7245ebe6e8b /src/core
parent09a163a408667addd6ef3589c625537371e57321 (diff)
downloadweechat-8fc64aaea8b4a98ab9bdb5e4b69d031454a06759.zip
core: remove WeeChat version from config files (closes #407)
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-config-file.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/wee-config-file.c b/src/core/wee-config-file.c
index 5868ef374..d204b5755 100644
--- a/src/core/wee-config-file.c
+++ b/src/core/wee-config-file.c
@@ -2233,10 +2233,9 @@ config_file_write_internal (struct t_config_file *config_file,
if (!string_iconv_fprintf (config_file->file, "#\n"))
goto error;
if (!string_iconv_fprintf (config_file->file,
- "# %s -- %s v%s\n#\n",
- config_file->filename,
+ "# %s -- %s\n#\n",
version_get_name (),
- version_get_version ()))
+ config_file->filename))
goto error;
/* write all sections */