[Hide Auto-joins] Match channel names case insensitively, r=clokep.
1.1 --- a/hideautojoins/bootstrap.js
1.2 +++ b/hideautojoins/bootstrap.js
1.3 @@ -65,11 +65,11 @@
1.4 if (!autojoin)
1.5 return true;
1.6
1.7 - autojoin = autojoin.split(",");
1.8 + autojoin = autojoin.toLowerCase().split(",");
1.9 if (protocolId != "prpl-irc")
1.10 autojoin = autojoin.map(function(r) r.replace(/\/.*/, ""));
1.11
1.12 - return autojoin.indexOf(aSubject.name) == -1;
1.13 + return autojoin.indexOf(aSubject.name.toLowerCase()) == -1;
1.14 }
1.15
1.16 function startup(data, reason)