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.
This commit is contained in:
John Reese
2015-10-12 16:27:01 -07:00
parent 46f937aa4a
commit 5f79f2d01f

View File

@@ -334,6 +334,10 @@ void CClient::UserCommand(CString& sLine) {
}
}
if (!pServer) {
pServer = m_pNetwork->GetNextServer();
}
if (GetIRCSock()) {
GetIRCSock()->Quit();
if (pServer)