From 960a4498f7b04f652462dfbff131a4d7c4701fdb Mon Sep 17 00:00:00 2001 From: TorrentialStorm Date: Wed, 24 Aug 2011 13:15:20 +0100 Subject: [PATCH] Don't send server redirects to client [TorrentialStorm] --- IRCSock.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/IRCSock.cpp b/IRCSock.cpp index 81f29862..d8ef4992 100644 --- a/IRCSock.cpp +++ b/IRCSock.cpp @@ -121,6 +121,8 @@ void CIRCSock::ReadLine(const CString& sData) { CString sRest = sLine.Token(3, true); switch (uRaw) { + case 10: // Don't send server redirects to the client + break; case 1: { // :irc.server.com 001 nick :Welcome to the Internet Relay Network nick if (m_bAuthed && sServer == "irc.znc.in") { // m_bAuthed == true => we already received another 001 => we might be in a traffic loop