From: Darren Date: Sat, 22 Oct 2011 22:39:16 +0000 (+0100) Subject: Hostname displayed on join X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c62e8bc097efe3c2a6ce2fc5bd8f3be47a2e7b1f;p=KiwiIRC.git Hostname displayed on join --- diff --git a/client/js/front.events.js b/client/js/front.events.js index 81e5db0..72b2da4 100644 --- a/client/js/front.events.js +++ b/client/js/front.events.js @@ -440,7 +440,7 @@ kiwi.front.events = { tab = new Tabview(data.channel.toLowerCase()); } - tab.addMsg(null, ' ', '--> ' + data.nick + ' has joined', 'action join', 'color:#009900;'); + tab.addMsg(null, ' ', '--> ' + data.nick + ' [' + data.ident + '@' + data.hostname + '] has joined', 'action join', 'color:#009900;'); if (data.nick === kiwi.gateway.nick) { return; // Not needed as it's already in nicklist diff --git a/client/js/gateway.js b/client/js/gateway.js index 09e2746..048981d 100644 --- a/client/js/gateway.js +++ b/client/js/gateway.js @@ -64,7 +64,7 @@ kiwi.gateway = { */ connect: function (host, port, ssl, password, callback) { if (typeof kiwi.gateway.kiwi_server !== 'undefined') { - kiwi.gateway.socket = io.connect(kiwi_server, { + kiwi.gateway.socket = io.connect(kiwi.gateway.kiwi_server, { 'try multiple transports': true, 'connect timeout': 3000, 'max reconnection attempts': 7,