cool if it works

This commit is contained in:
reality 2013-08-21 19:26:45 +00:00
parent 18d67e0f26
commit 66ead26635

View File

@ -140,7 +140,10 @@ var report = function(dbot) {
cChan + "\u000f"; cChan + "\u000f";
} }
message = message.replace(/ @([\d\w\s*|-]+?)( |$)/g, " " + colours['nicks'] + _.each(message.match(/@([\d\w\s*|-]+?)/g), function(user) {
notifier += '[' + colours['nicks'] + user + '\u000f]';
});
message = message.replace(/ ( |$)/g, " " + colours['nicks'] +
"@$1\u000f "); "@$1\u000f ");
} }