Move irc_* data structures to librb.

This makes the base ircd less cluttered up with data structures that can
go elsewhere.
This commit is contained in:
Elizabeth Myers 2016-03-06 14:17:19 -06:00
parent eddf454cd3
commit a4bf26dd34
31 changed files with 809 additions and 786 deletions

View file

@ -826,7 +826,7 @@ set_default_conf(void)
ConfigFileEntry.hide_opers_in_whois = 0;
if (!alias_dict)
alias_dict = irc_dictionary_create("alias", strcasecmp);
alias_dict = rb_dictionary_create("alias", strcasecmp);
}
#undef YES
@ -1532,7 +1532,7 @@ clear_out_old_conf(void)
/* remove any aliases... -- nenolod */
if (alias_dict != NULL)
{
irc_dictionary_destroy(alias_dict, free_alias_cb, NULL);
rb_dictionary_destroy(alias_dict, free_alias_cb, NULL);
alias_dict = NULL;
}