Пример #1
0
void _moddeinit(module_unload_intent_t intent)
{
	del_conf_item("DIGEST", &conf_pbkdf2v2_table);
	del_conf_item("ROUNDS", &conf_pbkdf2v2_table);
	del_top_conf("PBKDF2V2");

	crypt_unregister(&pbkdf2v2_crypt_impl);
}
Пример #2
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);
}
void
_moddeinit(module_unload_intent_t intent)
{
	hook_del_user_add(aknl_nickhook);
	hook_del_user_nickchange(aknl_nickhook);

	del_conf_item("ALL", &conft);
	del_conf_item("NICK", &conft);
	del_conf_item("USER", &conft);
	del_conf_item("REAL", &conft);
	del_top_conf("NICKLISTS");
}
Пример #4
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();
}
Пример #5
0
void
_moddeinit(void)
{
	hook_del_user_can_register(waitreg_hook);

	del_conf_item("WAITREG_TIME", &conf_ni_table);
}
Пример #6
0
void _moddeinit(module_unload_intent_t intent)
{
    service_named_unbind_command("operserv", &os_connavg);
    hook_del_user_add(connavg_newuser);
    hook_del_event("user_add");
    del_conf_item("SAFE_CONNECTIONS", &conf_gi_table);
    event_delete(reset_connections, NULL);
}
Пример #7
0
void
_moddeinit(module_unload_intent_t intent)
{
	hook_del_user_can_register(waitreg_hook);
	hook_del_operserv_info(info_hook);

	del_conf_item("WAITREG_TIME", &nicksvs.me->conf_table);
}
Пример #8
0
void _moddeinit(module_unload_intent_t intent)
{
	service_t *svs;

	service_named_unbind_command("chanserv", &cmd_dice);
	service_named_unbind_command("chanserv", &cmd_calc);

	svs = service_find("gameserv");
	if (!svs)
		return;

	service_unbind_command(svs, &cmd_dice);
	service_unbind_command(svs, &cmd_calc);

	del_conf_item("MAX_ROLLS", &svs->conf_table);
}
Пример #9
0
void _moddeinit(void)
{
    node_t *n;

    xmlrpc_unregister_method("atheme.login");
    xmlrpc_unregister_method("atheme.logout");
    xmlrpc_unregister_method("atheme.command");

    if ((n = node_find(&handle_xmlrpc, httpd_path_handlers)) != NULL)
    {
        node_del(n, httpd_path_handlers);
        node_free(n);
    }

    del_conf_item("PATH", &conf_xmlrpc_table);
    del_top_conf("XMLRPC");

    free(xmlrpc_config.path);

    hook_del_config_ready(xmlrpc_config_ready);
}
Пример #10
0
void _moddeinit(module_unload_intent_t intent)
{
	mowgli_node_t *n;

	xmlrpc_unregister_method("atheme.login");
	xmlrpc_unregister_method("atheme.logout");
	xmlrpc_unregister_method("atheme.command");
	xmlrpc_unregister_method("atheme.privset");
	xmlrpc_unregister_method("atheme.ison");
	xmlrpc_unregister_method("atheme.metadata");

	if ((n = mowgli_node_find(&handle_xmlrpc, httpd_path_handlers)) != NULL)
	{
		mowgli_node_delete(n, httpd_path_handlers);
		mowgli_node_free(n);
	}

	del_conf_item("PATH", &conf_xmlrpc_table);
	del_top_conf("XMLRPC");

	free(xmlrpc_config.path);

	hook_del_config_ready(xmlrpc_config_ready);
}
Пример #11
0
void _moddeinit(void)
{
	hook_del_db_saved(on_db_save);

	del_conf_item("db_update_command", &conf_gi_table);
}