From 1757418c613b011a9a7f75bdb3f4b4b7ceb8754f Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 3 Mar 2004 00:26:30 +0000 Subject: fix git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3227 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/proxy/dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/irc/proxy/dump.c') diff --git a/src/irc/proxy/dump.c b/src/irc/proxy/dump.c index 8d427693..d7e3c047 100644 --- a/src/irc/proxy/dump.c +++ b/src/irc/proxy/dump.c @@ -235,7 +235,7 @@ void proxy_dump_data(CLIENT_REC *client) else proxy_outdata(client, ":%s 004 %s %s %s oirw abeIiklmnopqstv\n", client->proxy_address, client->nick, client->proxy_address, IRSSI_VERSION); - if (client->server->isupport_sent) { + if (client->server != NULL && client->server->isupport_sent) { isupport_out = g_string_new(NULL); g_string_sprintf(isupport_out, ":%s 005 %s ", client->proxy_address, client->nick); /* FIXME: should be limited to 15 params */ -- cgit v1.2.3