Bug 139057 - fix chatzilla's response to certain pings
patch by twpol@aol.com r=rginda git-svn-id: svn://10.0.0.236/trunk@135360 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
c7d7840bac
commit
e09fa0a7e8
@ -1350,7 +1350,14 @@ function serv_ping (e)
|
||||
{
|
||||
|
||||
/* non-queued send, so we can calcualte lag */
|
||||
this.connection.sendData ("PONG :" + e.meat + "\n");
|
||||
if (e.meat)
|
||||
{
|
||||
this.connection.sendData ("PONG :" + e.meat + "\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
this.connection.sendData ("PONG :" + e.params[e.params.length - 1] + "\n");
|
||||
}
|
||||
this.connection.sendData ("PING :LAGTIMER\n");
|
||||
this.lastPing = this.lastPingSent = new Date();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user