mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
Do not try to free the alias dict if it does not exist.
This commit is contained in:
parent
7ef7663502
commit
dbcd150bce
1 changed files with 5 additions and 2 deletions
|
@ -1221,8 +1221,11 @@ clear_out_old_conf(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* remove any aliases... -- nenolod */
|
/* remove any aliases... -- nenolod */
|
||||||
irc_dictionary_destroy(alias_dict, free_alias_cb, NULL);
|
if (alias_dict != NULL)
|
||||||
alias_dict = NULL;
|
{
|
||||||
|
irc_dictionary_destroy(alias_dict, free_alias_cb, NULL);
|
||||||
|
alias_dict = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
destroy_blacklists();
|
destroy_blacklists();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue