Fix crash on startup.

This commit is contained in:
Arnaud Cornet 2007-08-19 09:26:59 +02:00 committed by Arnaud Cornet
parent 99ba56376a
commit e1b7de1735
1 changed files with 1 additions and 1 deletions

View File

@ -1922,8 +1922,8 @@ static void irc_close(struct link_any *l)
LINK(l)->name, timer);
LINK(is)->recon_timer = timer;
irc_server_free((struct link_server *)is);
LINK(is)->l_server = NULL;
irc_server_free((struct link_server *)is);
} else {
irc_client_close((struct link_client *)l);
}