if (!ServerInstance->Modes->AddMode(&jf))
throw ModuleException("Could not add new modes!");
ServerInstance->Extensions.Register(&jf.ext);
if (!ServerInstance->Modes->AddMode(&jf))
throw ModuleException("Could not add new modes!");
ServerInstance->Extensions.Register(&jf.ext);