mirror of
https://github.com/znc/znc.git
synced 2026-08-02 23:12:46 +02:00
Workaround gitter for 1.6
It's fixed properly for 1.7 already. Fix #1321
This commit is contained in:
+1
-1
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user