reg_server_link_func(handle_server_link, NULL);
reg_new_channel_func(handle_new_channel, NULL);
reg_join_func(handle_join, NULL);
reg_server_link_func(handle_server_link, NULL);
reg_new_channel_func(handle_new_channel, NULL);
reg_join_func(handle_join, NULL);