Bug 1525190 - Bugs found in IRC due to ESLint. r=freaktechnik
This commit is contained in:
Родитель
dd29ee63fa
Коммит
e44fe23f56
|
@ -1477,7 +1477,7 @@ ircAccount.prototype = {
|
|||
|
||||
// The received timestamp is invalid.
|
||||
if (isNaN(sentTime)) {
|
||||
this.WARN(aMessage.origin +
|
||||
this.WARN(aSource +
|
||||
" returned an invalid timestamp from a PING: " + aPongTime);
|
||||
return false;
|
||||
}
|
||||
|
@ -1488,7 +1488,7 @@ ircAccount.prototype = {
|
|||
// If the delay is negative or greater than 1 minute, something is
|
||||
// feeding us a crazy value. Don't display this to the user.
|
||||
if (delay < 0 || 60 * 1000 < delay) {
|
||||
this.WARN(aMessage.origin + " returned an invalid delay from a PING: " +
|
||||
this.WARN(aSource + " returned an invalid delay from a PING: " +
|
||||
delay);
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -104,7 +104,7 @@ function ctcpHandleMessage(aMessage) {
|
|||
let message = aMessage;
|
||||
message.params.pop();
|
||||
message.params.push(otherMessage);
|
||||
ircHandlers.handleMessage(message);
|
||||
ircHandlers.handleMessage(this, message);
|
||||
}
|
||||
|
||||
// Loop over each raw CTCP message.
|
||||
|
|
|
@ -80,7 +80,7 @@ var ctcpDCC = {
|
|||
return false;
|
||||
|
||||
// Parse the message and attempt to handle it.
|
||||
return ircHandlers.handleDCCMessage(this, DCCMessage(aMessage, aAccount));
|
||||
return ircHandlers.handleDCCMessage(this, DCCMessage(aMessage, this));
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче