Workaround gitter for 1.6

It's fixed properly for 1.7 already.
Fix #1321
This commit is contained in:
Alexey Sokolov
2016-11-17 23:45:25 +00:00
parent 0aaabe8c9f
commit 676d105347
+1 -1
View File
@@ -145,7 +145,7 @@ void CIRCSock::ReadLine(const CString& sData) {
// we don't want any PING forwarded
PutIRCQuick("PONG " + sLine.substr(5));
return;
} else if (sLine.Token(1).Equals("PONG")) {
} else if ((sLine.Token(1).Equals("PONG") && sLine.Token(0).StartsWith(":")) || sLine.Token(0).Equals("PONG")) {
// Block PONGs, we already responded to the pings
return;
} else if (sLine.Equals("ERROR ", false, 6)) {