From 5512ed2ea061b2951ae9e24e89537f8ccb021944 Mon Sep 17 00:00:00 2001 From: TorrentialStorm Date: Wed, 24 Aug 2011 17:55:59 +0100 Subject: [PATCH] Don't forward server redirects to client. --- IRCSock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRCSock.cpp b/IRCSock.cpp index d8ef4992..b045fde3 100644 --- a/IRCSock.cpp +++ b/IRCSock.cpp @@ -122,7 +122,7 @@ void CIRCSock::ReadLine(const CString& sData) { switch (uRaw) { case 10: // Don't send server redirects to the client - break; + return; 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