Merge pull request #220 from wizardfrag/highlightcase

Fix highlight checking by lower-casing everything
This commit is contained in:
Mattias Erming 2014-10-08 19:51:45 +02:00
commit b463ec7489
1 changed files with 1 additions and 1 deletions

View File

@ -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;