Merge pull request #220 from wizardfrag/highlightcase
Fix highlight checking by lower-casing everything
This commit is contained in:
commit
b463ec7489
@ -36,7 +36,7 @@ module.exports = function(irc, network) {
|
||||
}
|
||||
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user