diff options
Diffstat (limited to 'src/fe-common/core/fe-log.c')
-rw-r--r-- | src/fe-common/core/fe-log.c | 2 |
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); |