Fix crash on startup
This commit is contained in:
parent
aa40fef29a
commit
7c4667bf1d
@ -1925,8 +1925,8 @@ static void irc_close(struct link_any *l)
|
|||||||
LINK(l)->name, timer);
|
LINK(l)->name, timer);
|
||||||
LINK(is)->recon_timer = timer;
|
LINK(is)->recon_timer = timer;
|
||||||
|
|
||||||
irc_server_free((struct link_server *)is);
|
|
||||||
LINK(is)->l_server = NULL;
|
LINK(is)->l_server = NULL;
|
||||||
|
irc_server_free((struct link_server *)is);
|
||||||
} else {
|
} else {
|
||||||
irc_client_close((struct link_client *)l);
|
irc_client_close((struct link_client *)l);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user