- line = line + std::string(parameters[pcnt-1]);
-
- Srv->SendOpers(std::string(user->nick)+" used SAQUIT to make "+std::string(dest->nick)+" quit with a reason of "+line);
- Srv->QuitUser(dest, line);
+
+ irc::stringjoiner reason_join(" ", parameters, 1, pcnt - 1);
+ std::string line = reason_join.GetJoined();
+ ServerInstance->SNO->WriteToSnoMask('A', std::string(user->nick)+" used SAQUIT to make "+std::string(dest->nick)+" quit with a reason of "+line);
+
+ // Pass the command on, so the client's server can quit it properly.
+ if (!IS_LOCAL(dest))
+ return CMD_SUCCESS;
+
+ User::QuitUser(ServerInstance, dest, line);
+ return CMD_SUCCESS;