From 66080034ee896c2a3249f98dfc94011ff08cb594 Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Mon, 19 Nov 2007 10:34:40 +0000 Subject: Fix last change. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4646 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/fe-log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fe-common') diff --git a/src/fe-common/core/fe-log.c b/src/fe-common/core/fe-log.c index 594de125..c99c04b5 100644 --- a/src/fe-common/core/fe-log.c +++ b/src/fe-common/core/fe-log.c @@ -470,7 +470,7 @@ static void autolog_open_check(SERVER_REC *server, const char *server_tag, (autolog_level & level) == 0 || target == NULL || *target == '\0') return; - deftarget = server->nick ? server->nick : "unknown"; + deftarget = server ? server->nick : "unknown"; /* there can be multiple targets separated with comma */ targets = g_strsplit(target, ",", -1); -- cgit v1.2.3