Exemplo n.º 1
0
Arquivo: hub.c Projeto: imobilis/uhub
void hub_free_variables(struct hub_info* hub)
{
	hub_plugins_unload(hub);

	adc_msg_free(hub->command_info);
	adc_msg_free(hub->command_banner);
	adc_msg_free(hub->command_support);
}
Exemplo n.º 2
0
Arquivo: hub.c Projeto: q3k/uhub
void hub_free_variables(struct hub_info* hub)
{
#ifdef PLUGIN_SUPPORT
	hub_plugins_unload(hub);
#endif

	adc_msg_free(hub->command_info);
	adc_msg_free(hub->command_banner);

	if (hub->command_motd)
		adc_msg_free(hub->command_motd);

	if (hub->command_rules)
		adc_msg_free(hub->command_rules);

	adc_msg_free(hub->command_support);
}