DLLFUNC int MOD_INIT(m_svssno)(ModuleInfo *modinfo) { add_Command(MSG_SVSSNO, TOK_SVSSNO, m_svssno, MAXPARA); add_Command(MSG_SVS2SNO, TOK_SVS2SNO, m_svs2sno, MAXPARA); MARK_AS_OFFICIAL_MODULE(modinfo); return MOD_SUCCESS; }
/* This is called on module init, before Server Ready */ DLLFUNC int MOD_INIT(m_sendumode)(ModuleInfo *modinfo) { /* * We call our add_Command crap here */ add_Command(MSG_SENDUMODE, TOK_SENDUMODE, m_sendumode, MAXPARA); add_Command(MSG_SMO, TOK_SMO, m_sendumode, MAXPARA); MARK_AS_OFFICIAL_MODULE(modinfo); return MOD_SUCCESS; }
/* This is called on module init, before Server Ready */ DLLFUNC int MOD_INIT(m_dummy)(ModuleInfo *modinfo) { /* * We call our add_Command crap here */ add_Command(MSG_DUMMY, TOK_DUMMY, m_dummy, MAXPARA); return MOD_SUCCESS; }
/* This is called on module init, before Server Ready */ DLLFUNC int MOD_INIT(m_sqline)(ModuleInfo *modinfo) { /* * We call our add_Command crap here */ add_Command(MSG_SQLINE, TOK_SQLINE, m_sqline, MAXPARA); MARK_AS_OFFICIAL_MODULE(modinfo); return MOD_SUCCESS; }
/* This is called on module init, before Server Ready */ DLLFUNC int MOD_INIT(m_svsjoin)(ModuleInfo *modinfo) { /* * We call our add_Command crap here */ add_Command(MSG_SVSJOIN, TOK_SVSJOIN, m_svsjoin, MAXPARA); MARK_AS_OFFICIAL_MODULE(modinfo); return MOD_SUCCESS; }
DLLFUNC int MOD_INIT(m_sdesc)(ModuleInfo *modinfo) { /* * We call our add_Command crap here */ add_Command(MSG_SDESC, TOK_SDESC, m_sdesc, 1); MARK_AS_OFFICIAL_MODULE(modinfo); return MOD_SUCCESS; }
/* This is called on module init, before Server Ready */ DLLFUNC int MOD_INIT(m_rakill)(ModuleInfo *modinfo) { /* * We call our add_Command crap here */ add_Command(MSG_RAKILL, TOK_RAKILL, m_rakill, MAXPARA); MARK_AS_OFFICIAL_MODULE(modinfo); return MOD_SUCCESS; }
/* This is called on module init, before Server Ready */ DLLFUNC int MOD_INIT(m_who)(ModuleInfo *modinfo) { /* * We call our add_Command crap here */ add_Command(MSG_WHO, TOK_WHO, m_who, MAXPARA); MARK_AS_OFFICIAL_MODULE(modinfo); return MOD_SUCCESS; }
int m_rawto_Init(int module_load) #endif { /* * We call our add_Command crap here */ add_Command(MSG_RAWTO, TOK_RAWTO, m_rawto, 2); tainted++; return MOD_SUCCESS; }
/* This is called on module init, before Server Ready */ DLLFUNC int MOD_INIT(m_pingpong)(ModuleInfo *modinfo) { /* * We call our add_Command crap here */ Debug((DEBUG_NOTICE, "INIT")); add_Command(MSG_PING, TOK_PING, m_ping, MAXPARA); add_CommandX(MSG_PONG, TOK_PONG, m_pong, MAXPARA, M_UNREGISTERED|M_USER|M_SERVER|M_SHUN|M_VIRUS); MARK_AS_OFFICIAL_MODULE(modinfo); return MOD_SUCCESS; }
DLLFUNC int MOD_INIT(m_chgident)(ModuleInfo *modinfo) { /* extern variable to export m_chgident_info to temporary ModuleHeader *modulebuffer; the module_load() will use this to add to the modules linked list */ /* * We call our add_Command crap here */ add_Command(MSG_CHGIDENT, TOK_CHGIDENT, m_chgident, MAXPARA); MARK_AS_OFFICIAL_MODULE(modinfo); return MOD_SUCCESS; }
/* This is called on module init, before Server Ready */ DLLFUNC int MOD_INIT(m_htm)(ModuleInfo *modinfo) { /* * We call our add_Command crap here */ add_Command(MSG_HTM, TOK_HTM, m_htm, MAXPARA); ConfRun = HookAddEx(HtmModInfo->handle, HOOKTYPE_CONFIGRUN, htm_config_run); ServerStats = HookAddEx(HtmModInfo->handle, HOOKTYPE_STATS, htm_stats); #ifndef NO_FDLIST LockEventSystem(); e_lcf = EventAddEx(HtmModInfo->handle, "lcf", LCF, 0, lcf_check, NULL); e_htmcalc = EventAddEx(HtmModInfo->handle, "htmcalc", 1, 0, htm_calc, NULL); UnlockEventSystem(); #endif MARK_AS_OFFICIAL_MODULE(modinfo); return MOD_SUCCESS; }
DLLFUNC int MOD_INIT(m_svsnoop)(ModuleInfo *modinfo) { add_Command(MSG_SVSNOOP, TOK_SVSNOOP, m_svsnoop, MAXPARA); MARK_AS_OFFICIAL_MODULE(modinfo); return MOD_SUCCESS; }
DLLFUNC int MOD_INIT(m_connect)(ModuleInfo *modinfo) { add_Command(MSG_CONNECT, TOK_CONNECT, m_connect, MAXPARA); MARK_AS_OFFICIAL_MODULE(modinfo); return MOD_SUCCESS; }
DLLFUNC int MOD_INIT(m_rules)(ModuleInfo *modinfo) { add_Command(MSG_RULES, TOK_RULES, m_rules, MAXPARA); MARK_AS_OFFICIAL_MODULE(modinfo); return MOD_SUCCESS; }
DLLFUNC int MOD_INIT(m_addmotd)(ModuleInfo *modinfo) { add_Command(MSG_ADDMOTD, TOK_ADDMOTD, m_addmotd, 1); MARK_AS_OFFICIAL_MODULE(modinfo); return MOD_SUCCESS; }
DLLFUNC int MOD_INIT(m_svslusers)(ModuleInfo *modinfo) { add_Command(MSG_SVSLUSERS, TOK_SVSLUSERS, m_svslusers, MAXPARA); MARK_AS_OFFICIAL_MODULE(modinfo); return MOD_SUCCESS; }
DLLFUNC int MOD_INIT(m_mkpasswd)(ModuleInfo *modinfo) { add_Command(MSG_MKPASSWD, TOK_MKPASSWD, m_mkpasswd, MAXPARA); MARK_AS_OFFICIAL_MODULE(modinfo); return MOD_SUCCESS; }
DLLFUNC int MOD_INIT(m_userhost)(ModuleInfo *modinfo) { add_Command(MSG_USERHOST, TOK_USERHOST, m_userhost, 1); MARK_AS_OFFICIAL_MODULE(modinfo); return MOD_SUCCESS; }
DLLFUNC int MOD_INIT(m_squit)(ModuleInfo *modinfo) { add_Command(MSG_SQUIT, TOK_SQUIT, m_squit, 2); MARK_AS_OFFICIAL_MODULE(modinfo); return MOD_SUCCESS; }
DLLFUNC int MOD_INIT(m_dccdeny)(ModuleInfo *modinfo) { add_Command(MSG_DCCDENY, TOK_DCCDENY, m_dccdeny, 2); MARK_AS_OFFICIAL_MODULE(modinfo); return MOD_SUCCESS; }
DLLFUNC int MOD_INIT(m_sajoin)(ModuleInfo *modinfo) { add_Command(MSG_SAJOIN, TOK_SAJOIN, m_sajoin, MAXPARA); MARK_AS_OFFICIAL_MODULE(modinfo); return MOD_SUCCESS; }
DLLFUNC int MOD_INIT(m_locops)(ModuleInfo *modinfo) { add_Command(MSG_LOCOPS, TOK_LOCOPS, m_locops, 1); MARK_AS_OFFICIAL_MODULE(modinfo); return MOD_SUCCESS; }
DLLFUNC int MOD_INIT(m_addline)(ModuleInfo *modinfo) { add_Command(MSG_ADDLINE, TOK_ADDLINE, m_addline, 1); MARK_AS_OFFICIAL_MODULE(modinfo); return MOD_SUCCESS; }
DLLFUNC int MOD_INIT(m_svsfline)(ModuleInfo *modinfo) { add_Command(MSG_SVSFLINE, TOK_SVSFLINE, m_svsfline, MAXPARA); MARK_AS_OFFICIAL_MODULE(modinfo); return MOD_SUCCESS; }
DLLFUNC int MOD_INIT(m_sanick)(ModuleInfo *modinfo) { add_Command(MSG_SANICK, TOK_SANICK, m_sanick, MAXPARA); return MOD_SUCCESS; }