summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2007-11-19 10:34:40 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2007-11-19 10:34:40 +0000
commit66080034ee896c2a3249f98dfc94011ff08cb594 (patch)
tree3b70b5ebc1076682ab8174cf21e794579c647c33
parentd5ea8d7bbc215916d9aa97feac225454f582a3bf (diff)
downloadirssi-66080034ee896c2a3249f98dfc94011ff08cb594.zip
Fix last change.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4646 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--src/fe-common/core/fe-log.c2
1 files changed, 1 insertions, 1 deletions
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);