summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webchat/hello_web.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webchat/hello_web.js b/webchat/hello_web.js
index dd2f26e3..86e12957 100644
--- a/webchat/hello_web.js
+++ b/webchat/hello_web.js
@@ -47,7 +47,7 @@ irc_client.on('message#krebs', function(from, message) {
var echo = sockjs.createServer();
echo.on('connection', function(conn) {
- var origin = '['+conn.remoteAddress+':'+conn.remotePort+']';
+ var origin = conn.remoteAddress;
Clients.push(conn);
Clients.broadcast({from: 'system', message: origin + ' has joined'})
irc_client.say("#krebs", origin + ' has joined');