From 4dcab66a17f9a2a62db8451d64c9d20f17c24132 Mon Sep 17 00:00:00 2001 From: Adhidarma Hadiwinoto <gua@adhisimon.org> Date: Tue, 15 Dec 2015 22:03:31 +0700 Subject: [PATCH] debug color --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index dd64de5..a534791 100644 --- a/index.js +++ b/index.js @@ -55,13 +55,13 @@ client.addListener('pm', function (from, message) { redisClient.on("pmessage", function (pattern, channel, message) { if (channel.match(/^kimochi/)) { var gateway = channel.match(/gw:(.*)\.text/)[1]; - client.say(config.globals.aaa_pull_channel, message + irc.colors.wrap(irc.colors.code.purple, ' (' + gateway + ')')); + client.say(config.globals.aaa_pull_channel, message + irc.colors.wrap(irc.colors.code.dark_red, ' (' + gateway + ')')); } else if (channel.match(/^echi/)) { var gateway = channel.match(/gw:(.*)\.message$/)[1]; if (gateway == config.globals.echi_gw_blacklist) { return; } - client.say(config.globals.topup_message_channel, message + irc.colors.wrap('purple', ' (' + gateway + ')')); + client.say(config.globals.topup_message_channel, message + irc.colors.wrap(irc.colors.code.dark_red, ' (' + gateway + ')')); } }); -- 1.9.0