Bug 842183 - Land in comm-central Instantbird's changes to chat/ - 5 - Bio 1811 - IRC password does not work with ZNC server password auth, followup to fix breakage, r=aleth.
authorPatrick Cloke <clokep@gmail.com>
Sun, 25 Nov 2012 08:41:35 -0500
changeset 14884 b7b1aefc7fd3889d68c0b3d2dae8f232c0ad06f3
parent 14883 25e1726d6df85ec62b0d005b184cea2d96dfd752
child 14885 4d877bc3b994f21ede304a5b7e8e222e2492399a
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)
reviewersaleth
bugs842183
Bug 842183 - Land in comm-central Instantbird's changes to chat/ - 5 - Bio 1811 - IRC password does not work with ZNC server password auth, followup to fix breakage, r=aleth.
chat/protocols/irc/ircServices.jsm
--- a/chat/protocols/irc/ircServices.jsm
+++ b/chat/protocols/irc/ircServices.jsm
@@ -47,17 +47,17 @@ function ServiceMessage(aAccount, aMessa
   return aMessage;
 }
 
 var ircServices = {
   name: "IRC Services",
   priority: ircHandlers.HIGH_PRIORITY,
   isEnabled: function() true,
   sendIdentify: function(aAccount) {
-    if (aAccount.imAccount.password && this.shouldAuthenticate &&
+    if (aAccount.imAccount.password && aAccount.shouldAuthenticate &&
         !aAccount.isAuthenticated) {
       aAccount.sendMessage("IDENTIFY", aAccount.imAccount.password,
                            "IDENTIFY <password not logged>");
     }
   },
 
   commands: {
     // If we automatically reply to a NOTICE message this does not abide by RFC