diff options
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/proxy/dump.c | 2 |
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 */ |