diff --git a/modules/report/report.js b/modules/report/report.js index 6e70fe0..bf270c0 100644 --- a/modules/report/report.js +++ b/modules/report/report.js @@ -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 ");