예제 #1
0
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;
}
예제 #2
0
// 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;
}
예제 #3
0
파일: defizzer.c 프로젝트: Adam-/unrealircd
DLLFUNC int MOD_UNLOAD(defizzer)(int module_unload)
{
	HookDel(LocConnect);
	return MOD_SUCCESS;
}