Skip to content

Commit

Permalink
切换服务器时,记录原服务器和新服务器地址
Browse files Browse the repository at this point in the history
  • Loading branch information
nnhy committed Jan 3, 2025
1 parent 54a3ac1 commit ff69847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Stardust/StarClient.cs
Original file line number Diff line number Diff line change
@@ -356,7 +356,7 @@ public override IPingRequest BuildPingRequest()
OnMigration?.Invoke(this, arg);
if (!arg.Cancel)
{
await Logout("切换新服务器", cancellationToken).ConfigureAwait(false);
await Logout($"切换新服务器{prs.NewServer},原服务器:{Server}", cancellationToken).ConfigureAwait(false);

// 清空原有链接,添加新链接
Server = prs.NewServer;

0 comments on commit ff69847

Please sign in to comment.