mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
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:
@@ -334,6 +334,10 @@ void CClient::UserCommand(CString& sLine) {
|
||||
}
|
||||
}
|
||||
|
||||
if (!pServer) {
|
||||
pServer = m_pNetwork->GetNextServer();
|
||||
}
|
||||
|
||||
if (GetIRCSock()) {
|
||||
GetIRCSock()->Quit();
|
||||
if (pServer)
|
||||
|
||||
Reference in New Issue
Block a user