mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 22:10:22 +00:00
support @foobar-type highlighting
This commit is contained in:
parent
af563db0e2
commit
5efeffb7b8
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ module.exports = function(irc, network) {
|
|||
}
|
||||
|
||||
text.split(" ").forEach(function(w) {
|
||||
if (w.toLowerCase().indexOf(irc.me.toLowerCase()) === 0) type += " highlight";
|
||||
if (w.replace(/^@/, "").toLowerCase().indexOf(irc.me.toLowerCase()) === 0) type += " highlight";
|
||||
});
|
||||
|
||||
var self = false;
|
||||
|
|
Loading…
Reference in a new issue