mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 00:03:12 +02:00
Fix bug in config files when option name begins with '['
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user