From 5f79f2d01f0f35edadd0b7d5de00b92a858fb8fc Mon Sep 17 00:00:00 2001 From: John Reese Date: Mon, 12 Oct 2015 16:27:01 -0700 Subject: [PATCH] Fix #1147: show new server name when jumping This updates the connect command in *status to retrieve the next server object before triggering the jump, thereby allowing it to display the next server's name rather than a generic message. --- src/ClientCommand.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ClientCommand.cpp b/src/ClientCommand.cpp index 77a43527..66b1587a 100644 --- a/src/ClientCommand.cpp +++ b/src/ClientCommand.cpp @@ -334,6 +334,10 @@ void CClient::UserCommand(CString& sLine) { } } + if (!pServer) { + pServer = m_pNetwork->GetNextServer(); + } + if (GetIRCSock()) { GetIRCSock()->Quit(); if (pServer)