Fix highlight checking by lower-casing everything
This commit is contained in:
parent
189fed861a
commit
6bb0650a2b
|
@ -36,7 +36,7 @@ module.exports = function(irc, network) {
|
||||||
}
|
}
|
||||||
|
|
||||||
text.split(" ").forEach(function(w) {
|
text.split(" ").forEach(function(w) {
|
||||||
if (w.indexOf(irc.me) === 0) type += " highlight";
|
if (w.toLowerCase().indexOf(irc.me.toLowerCase()) === 0) type += " highlight";
|
||||||
});
|
});
|
||||||
|
|
||||||
var self = false;
|
var self = false;
|
||||||
|
|
Loading…
Reference in New Issue