From 4d4b1568d360cd0b76219a91211627ccb51e7238 Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 6 Nov 2013 16:03:22 +0100 Subject: webchat: better output --- webchat/hello_web.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'webchat') diff --git a/webchat/hello_web.js b/webchat/hello_web.js index 155a34f3..e1f8f312 100644 --- a/webchat/hello_web.js +++ b/webchat/hello_web.js @@ -24,7 +24,8 @@ var irc_client = new irc.Client('irc.freenode.net', 'kweb', { showErrors: true, port: 6697, autoRejoin: true, - autoConnect: true + autoConnect: true, + stripColors: true }); var reconnect = function() { @@ -88,7 +89,7 @@ var app = connect() res.write(''); res.write(''); res.write(krebsimage+'
'); - res.write('hello, this is result:
'); + res.write('hello, this is #krebs:
'); res.write('
'); res.end('
'); -- cgit v1.2.3