// they're already in the channel
std::vector<std::string> modes;
modes.push_back(parameters[0]);
- modes.push_back("+" + npmh->GetModeChar());
+ modes.push_back(std::string("+") + npmh->GetModeChar());
if (op)
{
modes[1].push_back('o');
ServerInstance->Modules->AddService(*np);
ServerInstance->Modules->AddService(mycommand);
-
- Implementation eventlist[] = { I_OnUserPreJoin, I_OnUserPreKick, I_OnRehash };
- ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
}
ModResult OnUserPreJoin(LocalUser* user, Channel* chan, const std::string& cname, std::string& privs, const std::string& keygiven) CXX11_OVERRIDE