+ // split into modes and mode params
+ while (ss >> buf)
+ tokens.push_back(buf);
+
+ std::vector<std::string> modes;
+ modes.push_back(u->nick);
+
+ // process mode params
+ for (unsigned int k = 0; k < tokens.size(); k++)
+ {
+ modes.push_back(tokens[k]);
+ }
+
+ ServerInstance->SendMode(modes, u);
+ ServerInstance->PI->SendMode(u->uuid, ServerInstance->Modes->GetLastParseParams(), ServerInstance->Modes->GetLastParseTranslate());
+ }
+};