Bug 842183 - Land in comm-central Instantbird's changes to chat/ - 5 - Bio 1838 - Missing account on ERROR call, r=clokep.
authoraleth <aleth@instantbird.org>
Wed, 28 Nov 2012 23:38:00 +0100
changeset 14891 720bac01b841141bd1e863b72e8736c75c8b14bd
parent 14890 cf9135f5995b7b7278ef0f29f04d4dee6ea4bdb9
child 14892 d5ed81e22f0c780a42fda6426e45b541c8d8bcdf
push id867
push userbugzilla@standard8.plus.com
push dateMon, 01 Apr 2013 20:44:27 +0000
treeherdercomm-beta@797726b8d244 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersclokep
bugs842183
Bug 842183 - Land in comm-central Instantbird's changes to chat/ - 5 - Bio 1838 - Missing account on ERROR call, r=clokep.
chat/protocols/irc/irc.js
--- 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 () {