0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

Do not try to free the alias dict if it does not exist.

This commit is contained in:
William Pitcock 2010-02-18 18:38:26 -06:00
parent 7ef7663502
commit dbcd150bce

View file

@ -1221,8 +1221,11 @@ clear_out_old_conf(void)
}
/* remove any aliases... -- nenolod */
irc_dictionary_destroy(alias_dict, free_alias_cb, NULL);
alias_dict = NULL;
if (alias_dict != NULL)
{
irc_dictionary_destroy(alias_dict, free_alias_cb, NULL);
alias_dict = NULL;
}
destroy_blacklists();