DLLFUNC int MOD_UNLOAD(m_restrictcolors)(int module_unload) { HookDel(CheckMsg); CmodeDel(ModeRcolors); ircd_log(LOG_ERROR, "debug: mod_unload called from m_restrictcolors"); sendto_realops("unloading m_restrictcolors"); return MOD_SUCCESS; }
// called when unloading a module DLLFUNC int MOD_UNLOAD(f_auth)(int module_unload) { HookDel(f_hook_config_test); HookDel(f_hook_config_posttest); HookDel(f_hook_config_run); HookDel(f_hook_config_rehash); HookDel(f_hook_local_chanmode); HookDel(f_hook_remote_chanmode); f_hook_config_test = f_hook_config_posttest = f_hook_config_run = f_hook_config_rehash = f_hook_local_chanmode = f_hook_remote_chanmode = NULL; f_count_ulinesecureaction = f_config_ulinesecureaction = 0; return MOD_SUCCESS; }
DLLFUNC int MOD_UNLOAD(defizzer)(int module_unload) { HookDel(LocConnect); return MOD_SUCCESS; }