summaryrefslogtreecommitdiff
path: root/src/core/log.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-10-28 21:04:01 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-10-28 21:04:01 +0000
commit73858a2e5e640c5e5ad28577a6474e4163df32e7 (patch)
tree5462f4b11099f81c5d951230fbde13b1aba3ac40 /src/core/log.c
parent4dcbe05c0f67fe9e914ba323ce7e179885ebb1f7 (diff)
downloadirssi-73858a2e5e640c5e5ad28577a6474e4163df32e7.zip
Some fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@797 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/log.c')
-rw-r--r--src/core/log.c3
1 files changed, 3 insertions, 0 deletions
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) {