summaryrefslogtreecommitdiff
path: root/src/irc/proxy/dump.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2004-03-03 00:26:30 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2004-03-03 00:26:30 +0000
commit1757418c613b011a9a7f75bdb3f4b4b7ceb8754f (patch)
treef06500f6eed9e6a69ebc0d4ae707736c1f9121ca /src/irc/proxy/dump.c
parent77cd7170f2ddb3e64e4f4b0fb95853f81cb1e23a (diff)
downloadirssi-1757418c613b011a9a7f75bdb3f4b4b7ceb8754f.zip
fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3227 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/proxy/dump.c')
-rw-r--r--src/irc/proxy/dump.c2
1 files changed, 1 insertions, 1 deletions
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 */