From c2316321b8f25f0cdf7c92bcb26f7bfcd88ffd9c Mon Sep 17 00:00:00 2001 From: Kyle Fuller Date: Wed, 11 Jan 2012 14:44:10 +0000 Subject: [PATCH] JUMPNETWORK: Tell the user we have switched network before we do The reason for this is so that any messages sent in *status by attaching a new network will show up after the switched message. <*status> Switched to efnet <*status> You are currently disconnected from IRC. Use 'connect' to reconnect. --- src/ClientCommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ClientCommand.cpp b/src/ClientCommand.cpp index 037b0c4b..e9509e6d 100644 --- a/src/ClientCommand.cpp +++ b/src/ClientCommand.cpp @@ -513,8 +513,8 @@ void CClient::UserCommand(CString& sLine) { CIRCNetwork *pNetwork = m_pUser->FindNetwork(sNetwork); if (pNetwork) { - SetNetwork(pNetwork); PutStatus("Switched to " + sNetwork); + SetNetwork(pNetwork); } else { PutStatus("You don't have a network named " + sNetwork); }