1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

The attached patch fixes bug #164, which triggers a failed assertion

message when the config file is unreadable to irssi.

By Daniel Koning <dkoning@seas.smu.edu>


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4395 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Geert Hauwaerts 2006-11-02 09:09:34 +00:00 committed by Geert
parent 00fdaf4d72
commit 0aca74b6e3

View File

@ -692,7 +692,7 @@ static CONFIG_REC *parse_configfile(const char *fname)
config = config_open(NULL, -1);
}
if (path != NULL)
if (config->fname != NULL)
config_parse(config);
else
config_parse_data(config, default_config, "internal");