mirror of
https://github.com/znc/znc.git
synced 2026-05-08 22:34:45 +02:00
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:
+1
-1
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user