Bug 842183 - Land in comm-central Instantbird's changes to chat/ - 5 - Bio 1838 - Missing account on ERROR call, r=clokep.
--- a/chat/protocols/irc/irc.js
+++ b/chat/protocols/irc/irc.js
@@ -616,17 +616,17 @@ ircSocket.prototype = {
// If nothing handled the message, throw a warning.
if (!ircHandlers.handleMessage(this._account,
new ircMessage(aRawMessage, this._account)))
this.WARN("Unhandled IRC message: " + aRawMessage);
} catch (e) {
// Catch the error, display it and hope the connection can continue with
// this message in error. Errors are also caught inside of handleMessage,
// but we expect to handle message parsing errors here.
- ERROR(e);
+ this.ERROR(e);
}
},
onConnection: function() {
this._account._connectionRegistration.call(this._account);
},
// Throw errors if the socket has issues.
onConnectionClosed: function () {