void _modinit(module_t *m) { hook_add_event("user_identify"); hook_add_user_identify(on_user_identify); hostsvs = service_add("hostserv", NULL, &conf_hs_table); }
void _modinit(module_t *m) { hook_add_event("user_identify"); hook_add_user_identify(clear_setpass_key); hook_add_event("user_info"); hook_add_user_info(show_setpass); service_named_bind_command("nickserv", &ns_setpass); }
void _modinit(module_t *m) { hook_add_event("user_identify"); hook_add_user_identify(on_user_identify); hook_add_event("user_away"); hook_add_user_away(on_user_away); memosvs = service_add("memoserv", NULL); add_uint_conf_item("MAXMEMOS", &memosvs->conf_table, 0, &maxmemos, 1, INT_MAX, 30); }
void _modinit(module_t *m) { hook_add_event("user_identify"); hook_add_user_identify(on_user_identify); hook_add_event("operserv_info"); hook_add_operserv_info(osinfo_hook); hostsvs = service_add("hostserv", NULL); /* Minimum number of days between when users may reuse the HOSTSERV TAKE command to get another vhost. */ add_uint_conf_item("REQUEST_TIME", &hostsvs->conf_table, 0, &hostsvs_req_time, 0, INT_MAX, 60); add_bool_conf_item("LIMIT_FIRST_REQUEST", &hostsvs->conf_table, 0, &hostsvs_limit_first_req, false); }
void _modinit(module_t *m) { service_named_bind_command("nickserv", &ns_vacation); hook_add_event("user_identify"); hook_add_user_identify(user_identify_hook); hook_add_event("user_check_expire"); hook_add_user_check_expire(user_expiry_hook); hook_add_event("nick_check_expire"); hook_add_nick_check_expire(nick_expiry_hook); hook_add_event("user_info"); hook_add_user_info(info_hook); }
void _modinit(module_t *m) { hook_add_event("user_identify"); hook_add_user_identify(hook_user_identify); }
void _modinit(module_t *m) { hook_add_event("user_identify"); hook_add_user_identify(ajoin_on_identify); service_named_bind_command("nickserv", &ns_ajoin); }