i think that should do it

This commit is contained in:
reality 2013-08-21 19:30:01 +00:00
parent 6d4291c564
commit f3e18f63bb

View File

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