+ this->RemoveStatus(ServerInstance->Config->GetSID(), param_list);
+ }
+ // The silent case here is ourTS == TS, we don't need to remove modes here, just to merge them later on.
+ }
+
+ /* First up, apply their modes if they won the TS war */
+ if (apply_other_sides_modes)
+ {
+ ServerInstance->SNO->WriteToSnoMask('d', "Applying remote modestring for %s", params[0].c_str());
+ unsigned int idx = 2;
+ std::vector<std::string> modelist;
+
+ // Mode parser needs to know what channel to act on.
+ modelist.push_back(params[0]);
+
+ /* Remember, params[params.size() - 1] is nicklist, and we don't want to apply *that* */
+ for (idx = 2; idx != (params.size() - 1); idx++)
+ {
+ modelist.push_back(params[idx]);