From 73858a2e5e640c5e5ad28577a6474e4163df32e7 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 28 Oct 2000 21:04:01 +0000 Subject: Some fixes. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@797 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/log.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/core/log.c') diff --git a/src/core/log.c b/src/core/log.c index d68265fe..9617b0c5 100644 --- a/src/core/log.c +++ b/src/core/log.c @@ -243,6 +243,9 @@ void log_file_write(SERVER_REC *server, const char *item, int level, g_return_if_fail(str != NULL); + if (logs == NULL) + return; + fallbacks = NULL; found = FALSE; for (tmp = logs; tmp != NULL; tmp = tmp->next) { -- cgit v1.2.3