예제 #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);
}
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");
}
예제 #3
0
파일: main.c 프로젝트: danopia/atheme
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);
}
예제 #4
0
파일: main.c 프로젝트: Canternet/atheme
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);
}