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