3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-24 03:33:07 +01:00

fuck youuuuuuu

This commit is contained in:
reality 2013-08-21 19:32:17 +00:00
parent f3e18f63bb
commit 7bbea38454

View File

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