void _modinit(module_t *m) { MODULE_TRY_REQUEST_DEPENDENCY(m, "nickserv/enforce"); MODULE_TRY_REQUEST_SYMBOL(m, ns_set_cmdtree, "nickserv/set_core", "ns_set_cmdtree"); command_add(&ns_set_enforcetime, *ns_set_cmdtree); }
void _modinit(module_t *m) { MODULE_TRY_REQUEST_SYMBOL(m, ns_set_cmdtree, "nickserv/set_core", "ns_set_cmdtree"); command_add(&ns_set_hidelastlogin, *ns_set_cmdtree); }
void _modinit(module_t *m) { MODULE_TRY_REQUEST_SYMBOL(m, cmd_op_multiple, "chanserv/op_core", "cmd_op_multiple"); service_named_bind_command("chanserv", &cs_op); service_named_bind_command("chanserv", &cs_deop); }
void _modinit(module_t *m) { MODULE_TRY_REQUEST_SYMBOL(m, exttarget_tree, "exttarget/main", "exttarget_tree"); mowgli_patricia_add(*exttarget_tree, "oper", oper_validate_f); object_init(object(&dummy_entity), "$oper", NULL); }
void _modinit(module_t *m) { MODULE_TRY_REQUEST_SYMBOL(m, cs_set_cmdtree, "chanserv/set_core", "cs_set_cmdtree"); command_add(&cs_set_private, *cs_set_cmdtree); use_channel_private++; }
void _modinit(module_t *m) { MODULE_TRY_REQUEST_SYMBOL(m, cs_set_cmdtree, "chanserv/set_core", "cs_set_cmdtree"); if (module_request("chanserv/main")) notify_channel_set_change = module_locate_symbol("chanserv/main", "notify_channel_set_change"); command_add(&cs_set_url, *cs_set_cmdtree); }
void _modinit(module_t *m) { MODULE_TRY_REQUEST_SYMBOL(m, ns_set_cmdtree, "nickserv/set_core", "ns_set_cmdtree"); command_add(&ns_set_private, *ns_set_cmdtree); use_nslist_main_symbols(m); static list_param_t private; private.opttype = OPT_BOOL;
void _modinit(module_t *m) { MODULE_TRY_REQUEST_SYMBOL(m, cs_set_cmdtree, "chanserv/set_core", "cs_set_cmdtree"); command_add(&cs_set_fantasy, *cs_set_cmdtree); hook_add_event("config_ready"); hook_add_config_ready(cs_set_fantasy_config_ready); }
void _modinit(module_t *m) { MODULE_TRY_REQUEST_SYMBOL(m, regfuncs, "saslserv/main", "sasl_mech_register_funcs"); if ((base_dhparams = DH_generate_parameters(256, 5, NULL, NULL)) == NULL) return; regfuncs->mech_register(&mech); }
void _modinit(module_t *m) { MODULE_TRY_REQUEST_SYMBOL(m, mechanisms, "saslserv/main", "sasl_mechanisms"); if ((base_dhparams = DH_generate_parameters(256, 5, NULL, NULL)) == NULL) return; mnode = mowgli_node_create(); mowgli_node_add(&mech, mnode, mechanisms); }
void _modinit(module_t *m) { MODULE_TRY_REQUEST_SYMBOL(m, exttarget_tree, "exttarget/main", "exttarget_tree"); mowgli_patricia_add(*exttarget_tree, "chanacs", chanacs_validate_f); /* since we are dealing with channel names, we use irccasecanon. */ chanacs_exttarget_tree = mowgli_patricia_create(irccasecanon); chanacs_ext_heap = mowgli_heap_create(sizeof(chanacs_exttarget_t), 32, BH_LAZY); }
void _modinit(module_t *m) { MODULE_TRY_REQUEST_SYMBOL(m, ns_set_cmdtree, "nickserv/set_core", "ns_set_cmdtree"); command_add(&ns_set_emailmemos, *ns_set_cmdtree); use_nslist_main_symbols(m); static list_param_t emailmemos; emailmemos.opttype = OPT_BOOL; emailmemos.is_match = has_emailmemos; list_register("emailmemos", &emailmemos); }
void _modinit(module_t *m) { MODULE_TRY_REQUEST_SYMBOL(m, ns_set_cmdtree, "nickserv/set_core", "ns_set_cmdtree"); command_add(&ns_set_nevergroup, *ns_set_cmdtree); use_nslist_main_symbols(m); static list_param_t nevergroup; nevergroup.opttype = OPT_BOOL; nevergroup.is_match = has_nevergroup; list_register("nevergroup", &nevergroup); }
void _modinit(module_t *m) { if (ircd != NULL && !ircd->uses_owner) { slog(LG_INFO, N_("Module %s requires owner support, refusing to load."), m->name); m->mflags = MODTYPE_FAIL; return; } MODULE_TRY_REQUEST_SYMBOL(m, cmd_op_multiple, "chanserv/op_core", "cmd_op_multiple"); desc.mode_letter = ircd->owner_mchar[1]; service_named_bind_command("chanserv", &cs_owner); service_named_bind_command("chanserv", &cs_deowner); }
void _modinit(module_t *m) { MODULE_TRY_REQUEST_SYMBOL(m, httpd_path_handlers, "misc/httpd", "httpd_path_handlers"); hook_add_event("config_ready"); hook_add_config_ready(xmlrpc_config_ready); xmlrpc_config.path = sstrdup("/xmlrpc"); add_subblock_top_conf("XMLRPC", &conf_xmlrpc_table); add_dupstr_conf_item("PATH", &conf_xmlrpc_table, 0, &xmlrpc_config.path, NULL); xmlrpc_set_buffer(dump_buffer); xmlrpc_set_options(XMLRPC_HTTP_HEADER, XMLRPC_OFF); xmlrpc_register_method("atheme.login", xmlrpcmethod_login); xmlrpc_register_method("atheme.logout", xmlrpcmethod_logout); xmlrpc_register_method("atheme.command", xmlrpcmethod_command); xmlrpc_register_method("atheme.privset", xmlrpcmethod_privset); xmlrpc_register_method("atheme.ison", xmlrpcmethod_ison); xmlrpc_register_method("atheme.metadata", xmlrpcmethod_metadata); }
void _modinit(module_t *m) { MODULE_TRY_REQUEST_SYMBOL(m, ns_set_cmdtree, "nickserv/set_core", "ns_set_cmdtree"); command_add(&ns_set_emailmemos, *ns_set_cmdtree); use_nslist_main_symbols(m); static list_param_t emailmemos; emailmemos.opttype = OPT_BOOL; emailmemos.is_match = has_emailmemos; static list_param_account_t account_emailmemos; account_emailmemos.opttype = OPT_BOOL; account_emailmemos.is_match = account_has_emailmemos; list_register("emailmemos", &emailmemos); list_account_register("emailmemos", &account_emailmemos); if (module_request("nickserv/main")) add_history_entry_setting = module_locate_symbol("nickserv/main", "add_history_entry_setting"); }
void _modinit(module_t *m) { MODULE_TRY_REQUEST_DEPENDENCY(m, "nickserv/set_pubkey"); MODULE_TRY_REQUEST_SYMBOL(m, regfuncs, "saslserv/main", "sasl_mech_register_funcs"); regfuncs->mech_register(&mech); }
void _modinit(module_t *m) { MODULE_TRY_REQUEST_SYMBOL(m, bs_set_cmdtree, "botserv/set_core", "bs_set_cmdtree"); command_add(&bs_set_nobot, *bs_set_cmdtree); }
void _modinit(module_t *m) { MODULE_TRY_REQUEST_SYMBOL(m, regfuncs, "saslserv/main", "sasl_mech_register_funcs"); regfuncs->mech_register(&mech); }
void _modinit(module_t *m) { MODULE_TRY_REQUEST_SYMBOL(m, cs_set_cmdtree, "chanserv/set_core", "cs_set_cmdtree"); command_add(&cs_set_entrymsg, *cs_set_cmdtree); }
void _modinit(module_t *m) { MODULE_TRY_REQUEST_SYMBOL(m, mechanisms, "saslserv/main", "sasl_mechanisms"); mnode = mowgli_node_create(); mowgli_node_add(&mech, mnode, mechanisms); }
void _modinit(module_t *m) { MODULE_TRY_REQUEST_SYMBOL(m, ns_set_cmdtree, "nickserv/set_core", "ns_set_cmdtree"); command_add(&ns_set_nevergroup, *ns_set_cmdtree); }