Revert a commit from r1527 that made some PONG replies pass through to the client.

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1668 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
silverleo
2009-11-24 13:06:25 +00:00
parent e8c64c0df6
commit e2aba7587b
+1 -1
View File
@@ -81,7 +81,7 @@ void CIRCSock::ReadLine(const CString& sData) {
PutIRC("PONG " + sLine.substr(5));
m_pUser->PutUser(sLine);
return;
} else if (sLine.Equals("PONG ", false, 5) && sLine.Token(3).Equals(":ZNC")) {
} else if (sLine.Token(1).Equals("PONG") && sLine.Token(3).Equals(":ZNC")) {
// We asked for this so don't forward the reply to clients.
return;
} else if (sLine.Equals("ERROR ", false, 6)) {