- Event rmode((char *)&n, NULL, "send_mode");
- rmode.Send(ServerInstance);
-
- n.clear();
- n.push_back(std::string(user->nick) + " used SAMODE: " + ServerInstance->Modes->GetLastParse());
- Event rmode2((char *)&n, NULL, "send_opers");
- rmode2.Send(ServerInstance);
+ std::string channel = n[0];
+ n.pop_front();
+ ServerInstance->PI->SendMode(channel, n);