summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2004-07-11 15:52:04 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2004-07-11 15:52:04 +0000
commit372903e72e36f48aa2eb67c9b1ce6b44689b5bc9 (patch)
treec70683f488ccc282481b94f25729f472d25188a0 /src
parent6f45115b5e21d4806c391673ae9afbf54a6bff48 (diff)
downloadirssi-372903e72e36f48aa2eb67c9b1ce6b44689b5bc9.zip
Fix.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3264 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/irc/dcc/dcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/dcc/dcc.c b/src/irc/dcc/dcc.c
index ddf31b4f..42129794 100644
--- a/src/irc/dcc/dcc.c
+++ b/src/irc/dcc/dcc.c
@@ -475,7 +475,7 @@ static void event_no_such_nick(IRC_SERVER_REC *server, char *data)
next = tmp->next;
if (!dcc_is_connected(dcc) && dcc->server == server &&
- g_strcasecmp(dcc->nick, nick) == 0)
+ dcc->nick != NULL && g_strcasecmp(dcc->nick, nick) == 0)
dcc_close(dcc);
}