Commit 4dcab66a17f9a2a62db8451d64c9d20f17c24132

Authored by Adhidarma Hadiwinoto
1 parent 9d4184e0e1
Exists in master

debug color

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -55,13 +55,13 @@ client.addListener('pm', function (from, message) {
55 55 redisClient.on("pmessage", function (pattern, channel, message) {
56 56 if (channel.match(/^kimochi/)) {
57 57 var gateway = channel.match(/gw:(.*)\.text/)[1];
58   - client.say(config.globals.aaa_pull_channel, message + irc.colors.wrap(irc.colors.code.purple, ' (' + gateway + ')'));
  58 + client.say(config.globals.aaa_pull_channel, message + irc.colors.wrap(irc.colors.code.dark_red, ' (' + gateway + ')'));
59 59 }
60 60 else if (channel.match(/^echi/)) {
61 61 var gateway = channel.match(/gw:(.*)\.message$/)[1];
62 62 if (gateway == config.globals.echi_gw_blacklist) {
63 63 return;
64 64 }
65   - client.say(config.globals.topup_message_channel, message + irc.colors.wrap('purple', ' (' + gateway + ')'));
  65 + client.say(config.globals.topup_message_channel, message + irc.colors.wrap(irc.colors.code.dark_red, ' (' + gateway + ')'));
66 66 }
67 67 });