colour tags

This commit is contained in:
reality 2013-08-21 19:14:55 +00:00
parent 46231c9e56
commit fc345f4ebc

View File

@ -139,6 +139,9 @@ var report = function(dbot) {
cChan = colours['channels'][channelName] + cChan = colours['channels'][channelName] +
cChan + "\u000f"; cChan + "\u000f";
} }
message = message.replace(/ @([\d\w\s*|-]+?) /, colours['nicks'] +
"@$1\u000f");
} }
this.api.notify(event.server, channelName, dbot.t('notify', { this.api.notify(event.server, channelName, dbot.t('notify', {