Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't send server redirects to client [TorrentialStorm]

  • Loading branch information...
commit bc35c3ed374c5e0b9cb31adf682e8291e854661e 1 parent b5043eb
TorrentialStorm authored psychon committed
Showing with 2 additions and 0 deletions.
  1. +2 −0  IRCSock.cpp
2  IRCSock.cpp
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.