bm = new ServProtectMode(ServerInstance);
if (!ServerInstance->AddMode(bm))
throw ModuleException("Could not add new modes!");
+ Implementation eventlist[] = { I_OnWhois, I_OnKill, I_OnWhoisLine };
+ ServerInstance->Modules->Attach(eventlist, this, 3);
}
void Implements(char* List)