DLLFUNC int MOD_UNLOAD(m_svssno)(int module_unload) { if (del_Command(MSG_SVSSNO, TOK_SVSSNO, m_svssno) < 0 || del_Command(MSG_SVS2SNO, TOK_SVS2SNO, m_svs2sno) < 0) { sendto_realops("Failed to delete commands when unloading %s", MOD_HEADER(m_svssno).name); } return MOD_SUCCESS; }
/* Called when module is unloaded */ DLLFUNC int MOD_UNLOAD(m_pingpong)(int module_unload) { if (del_Command(MSG_PING, TOK_PING, m_ping) < 0) { sendto_realops("Failed to delete command ping when unloading %s", MOD_HEADER(m_pingpong).name); } if (del_Command(MSG_PONG, TOK_PONG, m_pong) < 0) { sendto_realops("Failed to delete command pong when unloading %s", MOD_HEADER(m_pingpong).name); } return MOD_SUCCESS; }
/* Called when module is unloaded */ DLLFUNC int MOD_UNLOAD(m_sendumode)(int module_unload) { if (del_Command(MSG_SENDUMODE, TOK_SENDUMODE, m_sendumode) < 0) { sendto_realops("Failed to delete command sendumode when unloading %s", MOD_HEADER(m_sendumode).name); } if (del_Command(MSG_SMO, TOK_SMO, m_sendumode) < 0) { sendto_realops("Failed to delete command smo when unloading %s", MOD_HEADER(m_sendumode).name); } return MOD_SUCCESS; }
/* Called when module is unloaded */ DLLFUNC int MOD_UNLOAD(m_svsjoin)(int module_unload) { if (del_Command(MSG_SVSJOIN, TOK_SVSJOIN, m_svsjoin) < 0) { sendto_realops("Failed to delete commands when unloading %s", MOD_HEADER(m_svsjoin).name); } return MOD_SUCCESS; }
/* Called when module is unloaded */ DLLFUNC int MOD_UNLOAD(m_dummy)(int module_unload) { if (del_Command(MSG_DUMMY, TOK_DUMMY, m_dummy) < 0) { sendto_realops("Failed to delete commands when unloading %s", MOD_HEADER(m_dummy).name); } return MOD_SUCCESS; }
DLLFUNC int MOD_UNLOAD(m_locops)(int module_unload) { if (del_Command(MSG_LOCOPS, TOK_LOCOPS, m_locops) < 0) { sendto_realops("Failed to delete commands when unloading %s", MOD_HEADER(m_locops).name); } return MOD_SUCCESS; }
DLLFUNC int MOD_UNLOAD(m_addmotd)(int module_unload) { if (del_Command(MSG_ADDMOTD, TOK_ADDMOTD, m_addmotd) < 0) { sendto_realops("Failed to delete commands when unloading %s", MOD_HEADER(m_addmotd).name); } return MOD_SUCCESS; }
/* Called when module is unloaded */ DLLFUNC int MOD_UNLOAD(m_rakill)(int module_unload) { if (del_Command(MSG_RAKILL, TOK_RAKILL, m_rakill) < 0) { sendto_realops("Failed to delete commands when unloading %s", MOD_HEADER(m_rakill).name); } return MOD_SUCCESS; }
DLLFUNC int MOD_UNLOAD(m_chgident)(int module_unload) { if (del_Command(MSG_CHGIDENT, TOK_CHGIDENT, m_chgident) < 0) { sendto_realops("Failed to delete commands when unloading %s", MOD_HEADER(m_chgident).name); } return MOD_SUCCESS; }
/* Called when module is unloaded */ DLLFUNC int MOD_UNLOAD(m_unsqline)(int module_unload) { if (del_Command(MSG_UNSQLINE, TOK_UNSQLINE, m_unsqline) < 0) { sendto_realops("Failed to delete commands when unloading %s", MOD_HEADER(m_unsqline).name); } return MOD_SUCCESS; }
DLLFUNC int MOD_UNLOAD(m_userhost)(int module_unload) { if (del_Command(MSG_USERHOST, TOK_USERHOST, m_userhost) < 0) { sendto_realops("Failed to delete commands when unloading %s", MOD_HEADER(m_userhost).name); } return MOD_SUCCESS; }
int m_rawto_Unload(int module_unload) #endif { if (del_Command(MSG_RAWTO, TOK_RAWTO, m_rawto) < 0) { sendto_realops("Failed to delete commands when unloading %s", m_rawto_Header.name); } tainted--; return MOD_SUCCESS; }
/* Called when module is unloaded */ DLLFUNC int MOD_UNLOAD(m_htm)(int module_unload) { if (del_Command(MSG_HTM, TOK_HTM, m_htm) < 0) { sendto_realops("Failed to delete commands when unloading %s", MOD_HEADER(m_htm).name); } #ifndef NO_FDLIST LockEventSystem(); EventDel(e_lcf); EventDel(e_htmcalc); UnlockEventSystem(); #endif return MOD_SUCCESS; }