예제 #1
0
파일: main.c 프로젝트: Wollino/Xtheme
void _moddeinit(module_unload_intent_t intent)
{
	chanfix_persist_record_t *rec = NULL;

	hook_del_channel_can_register(chanfix_can_register);

	mowgli_timer_destroy(base_eventloop, chanfix_autofix_timer);

	if (chanfix)
		service_delete(chanfix);

	switch (intent)
	{
		case MODULE_UNLOAD_INTENT_RELOAD:
		{
			rec = smalloc(sizeof(chanfix_persist_record_t));
			rec->version = 1;

			mowgli_global_storage_put("atheme.chanfix.main.persist", rec);
			break;
		}

		case MODULE_UNLOAD_INTENT_PERM:
		default:
			break;
	}

	chanfix_gather_deinit(intent, rec);
}
예제 #2
0
파일: funserv.c 프로젝트: RobRoseKnows/cod
void _moddeinit(module_unload_intent_t intent)
{
	service_unbind_command(funserv, &funserv_requestbot);
	service_unbind_command(funserv, &funserv_help);

	service_delete(funserv);
}
예제 #3
0
void _moddeinit(void)
{
	if (hostsvs != NULL)
		service_delete(hostsvs);

	hook_del_user_identify(on_user_identify);
}
예제 #4
0
void _moddeinit(module_unload_intent_t intent)
{
  service_unbind_command(siteserv, &siteserv_help);

  if (siteserv)
  {
    service_delete(siteserv);
    siteserv = NULL;
  }
}
예제 #5
0
void _moddeinit(module_unload_intent_t intent)
{
	if (hostsvs != NULL)
		service_delete(hostsvs);

	hook_del_user_identify(on_user_identify);
	hook_del_operserv_info(osinfo_hook);

	del_conf_item("REQUEST_TIME", &hostsvs->conf_table);
	del_conf_item("LIMIT_FIRST_REQUEST", &hostsvs->conf_table);
}
예제 #6
0
void _moddeinit(void)
{
	gs_db_deinit();
	gs_hooks_deinit();
	basecmds_deinit();
	set_deinit();
	del_conf_item("MAXGROUPS", &conf_gs_table);
	del_conf_item("MAXGROUPACS", &conf_gs_table);
	del_conf_item("ENABLE_OPEN_GROUPS", &conf_gs_table);

	if (groupsvs)
		service_delete(groupsvs);

	mygroups_deinit();
}
예제 #7
0
파일: main.c 프로젝트: danopia/atheme
void _moddeinit(void)
{
        if (nicksvs.me)
	{
		nicksvs.nick = NULL;
		nicksvs.user = NULL;
		nicksvs.host = NULL;
		nicksvs.real = NULL;
                service_delete(nicksvs.me);
		nicksvs.me = NULL;
	}
	authservice_loaded--;

        hook_del_config_ready(nickserv_config_ready);
        hook_del_nick_check(nickserv_handle_nickchange);
}
void _moddeinit(module_unload_intent_t intent)
{
	service_unbind_command(loveserv, &ls_admirer);
	service_unbind_command(loveserv, &ls_rose);
	service_unbind_command(loveserv, &ls_chocolate);
	service_unbind_command(loveserv, &ls_candy);
	service_unbind_command(loveserv, &ls_hug);
	service_unbind_command(loveserv, &ls_kiss);
	service_unbind_command(loveserv, &ls_lovenote);
	service_unbind_command(loveserv, &ls_apology);
	service_unbind_command(loveserv, &ls_thankyou);
	service_unbind_command(loveserv, &ls_spank);
	service_unbind_command(loveserv, &ls_chocobo);
	service_unbind_command(loveserv, &ls_help);

	if (loveserv)
		service_delete(loveserv);
}
예제 #9
0
파일: main.c 프로젝트: Gryllida/atheme
void _moddeinit(module_unload_intent_t intent)
{
        if (memosvs != NULL)
                service_delete(memosvs);
}
예제 #10
0
파일: main.c 프로젝트: Cloudxtreme/shalture
void _moddeinit(module_unload_intent_t intent)
{
    service_named_unbind_command("statserv", &ss_help);
    if (statsvs != NULL)
        service_delete(statsvs);
}
예제 #11
0
void _moddeinit(module_unload_intent_t intent)
{
	service_delete(proxyscan);
}