- if (!ServerInstance->Modes->AddMode(&nk))
- throw ModuleException("Could not add new modes!");
- Implementation eventlist[] = { I_OnUserPreKick, I_On005Numeric };
- ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));