From e5818e2f04479d13472496caea86051b74141690 Mon Sep 17 00:00:00 2001 From: reality Date: Wed, 21 Aug 2013 18:26:36 +0000 Subject: [PATCH] fix --- modules/report/report.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/report/report.js b/modules/report/report.js index 7fe2cf2..9c0d58f 100644 --- a/modules/report/report.js +++ b/modules/report/report.js @@ -127,10 +127,11 @@ var report = function(dbot) { 'message': message }, function() {}); + var notifier = event.user; if(_.has(this.config.colours, event.server)) { var colours = this.config[event.server]; - notifier = colours['nicks'] + event.user + '\u000f'; + notifier = colours['nicks'] + notifier + '\u000f'; type = colours['type'] + 'notify' + '\u000f'; if(_.has(colours['channels'], channelName)) { channelName = colours['channels'][channelName] +