diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-08-12 10:12:07 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-08-12 10:12:07 +0200 |
commit | 24432e78e001ea69cdc7f1512fc74ab580fba8ae (patch) | |
tree | b9bbc554faf66403d1de9dbb690c85b813c188d8 /src/core | |
parent | a7d037d384f16bcb13dc99c64c9f06bb6c1dd960 (diff) | |
download | weechat-24432e78e001ea69cdc7f1512fc74ab580fba8ae.zip |
Fix bug in config files when option name begins with '['
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/wee-config-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-config-file.c b/src/core/wee-config-file.c index dbbc81384..72e320aa9 100644 --- a/src/core/wee-config-file.c +++ b/src/core/wee-config-file.c @@ -2043,7 +2043,7 @@ config_file_read_internal (struct t_config_file *config_file, int reload) && (ptr_line[0] != '\n')) { /* beginning of section */ - if (ptr_line[0] == '[') + if ((ptr_line[0] == '[') && !strchr (ptr_line, '=')) { pos = strchr (line, ']'); if (!pos) |