示例#1
0
文件: hub.c 项目: 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);
}
示例#2
0
文件: hub.c 项目: 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);
}