Fixed fakechannel removal

This commit is contained in:
ManiacTwister 2018-11-26 20:12:44 +01:00
parent 23e6d4ed73
commit 590a46b165

View file

@ -1555,7 +1555,7 @@ clear_out_old_conf(void)
} }
/* remove any fakechannels */ /* remove any fakechannels */
if (alias_dict != NULL) if (fakechannel_dict != NULL)
{ {
irc_dictionary_destroy(fakechannel_dict, free_fakechannel_cb, NULL); irc_dictionary_destroy(fakechannel_dict, free_fakechannel_cb, NULL);
fakechannel_dict = NULL; fakechannel_dict = NULL;