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); }
void _moddeinit(module_unload_intent_t intent) { service_unbind_command(funserv, &funserv_requestbot); service_unbind_command(funserv, &funserv_help); service_delete(funserv); }
void _moddeinit(void) { if (hostsvs != NULL) service_delete(hostsvs); hook_del_user_identify(on_user_identify); }
void _moddeinit(module_unload_intent_t intent) { service_unbind_command(siteserv, &siteserv_help); if (siteserv) { service_delete(siteserv); siteserv = NULL; } }
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(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(); }
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); }
void _moddeinit(module_unload_intent_t intent) { if (memosvs != NULL) service_delete(memosvs); }
void _moddeinit(module_unload_intent_t intent) { service_named_unbind_command("statserv", &ss_help); if (statsvs != NULL) service_delete(statsvs); }
void _moddeinit(module_unload_intent_t intent) { service_delete(proxyscan); }