Fix crash on startup

This commit is contained in:
Arnaud Cornet 2007-08-19 09:59:57 +02:00
parent aa40fef29a
commit 7c4667bf1d
1 changed files with 1 additions and 1 deletions

View File

@ -1925,8 +1925,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);
}