From c943babd67942a74021ec903f9ede2276bcddf9a Mon Sep 17 00:00:00 2001 From: psychon Date: Thu, 28 Jan 2010 19:29:24 +0000 Subject: [PATCH] Remove a pointless if If there is no connection to the IRC server, we can't forward a nick change anyway, so there is no need to check for this case. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1723 726aef4b-f618-498e-8847-2d620e286838 --- Client.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Client.cpp b/Client.cpp index f0a109f6..fb0db865 100644 --- a/Client.cpp +++ b/Client.cpp @@ -113,11 +113,6 @@ void CClient::ReadLine(const CString& sData) { } return; // Don't forward this msg. ZNC will handle nick changes until auth is complete } - - if (!m_pIRCSock) { - // No need to forward it - return; - } } else if (sCommand.Equals("USER")) { if (!IsAttached()) { if (m_sUser.empty()) {