From 0aca74b6e35f55c601f91621fb64acbf402cece2 Mon Sep 17 00:00:00 2001 From: Geert Hauwaerts Date: Thu, 2 Nov 2006 09:09:34 +0000 Subject: [PATCH] The attached patch fixes bug #164, which triggers a failed assertion message when the config file is unreadable to irssi. By Daniel Koning git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4395 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/settings.c b/src/core/settings.c index ce230f8a..be49d800 100644 --- a/src/core/settings.c +++ b/src/core/settings.c @@ -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");