diff options
author | lassulus <lassulus@googlemail.com> | 2013-11-06 16:03:22 +0100 |
---|---|---|
committer | lassulus <lassulus@googlemail.com> | 2013-11-06 16:03:22 +0100 |
commit | 4d4b1568d360cd0b76219a91211627ccb51e7238 (patch) | |
tree | 3177d2aec329e2eb65862610e2f3db3d3395449c /webchat | |
parent | 7322fce37c76c0dd4a53ddc5be984d1d904c660a (diff) |
webchat: better output
Diffstat (limited to 'webchat')
-rw-r--r-- | webchat/hello_web.js | 5 |
1 files changed, 3 insertions, 2 deletions
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('<script src="jquery-2.0.3.min.js"></script>'); res.write('<script src="client.js"></script>'); res.write(krebsimage+'<br>'); - res.write('hello, this is result:<br>'); + res.write('hello, this is #krebs:<br>'); res.write('<table id="chatbox"></table>'); res.end('<input type="text" id="input"><br>'); |